Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 20th, 2004, 05:48 AM
Authorized User
 
Join Date: Feb 2004
Location: Nova Pazova, , Yugoslavia.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default interface inheritance

Hi, my name is Dragan and i'm new in VB.NET. Here is my problem: i don't know how to set a multiple interfaces. For example: when user click on the button control, picture in picture box needs to change, text in text box needs to change, label text needs to change, etc. Please help me because there is no themes about this in the wrox press books.

Reply With Quote
  #2 (permalink)  
Old April 20th, 2004, 09:57 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I'm not sure what you mean with you question. Are you asking about how to set all those things when you click the button? You just need to do what you need in the button click handler.

Sub Button_onClick(sender As Object, e As System.EventArgs) Handles Button.Click
   'set the picture box
   'change text box
   'change label
   'etc.
End Sub

Is this what you mean?

Peter
-------------------------
Work smarter, not harder
Reply With Quote
  #3 (permalink)  
Old April 25th, 2004, 09:33 AM
Authorized User
 
Join Date: Feb 2004
Location: Nova Pazova, , Yugoslavia.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

a

Reply With Quote
  #4 (permalink)  
Old April 25th, 2004, 09:37 AM
Authorized User
 
Join Date: Feb 2004
Location: Nova Pazova, , Yugoslavia.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry about that.
Yes, the button click handler but is it possible to do that when i have 200 pictures and texts?
Thank you anyway for your help
best regards
Dragan

Reply With Quote
  #5 (permalink)  
Old April 28th, 2004, 09:19 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Well, you'll have to set all 200 pictures and texts. Without more information I can't recommend anything else.
Reply With Quote
  #6 (permalink)  
Old April 28th, 2004, 03:21 PM
Authorized User
 
Join Date: Feb 2004
Location: Nova Pazova, , Yugoslavia.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is program for test's about driver's licence.It has a button_next and button_previous for questions. I don't know if it is a bad idea to do that program in that way but i allready started it. So if i started it bad please tell me.

Reply With Quote
  #7 (permalink)  
Old April 29th, 2004, 09:40 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I think what you are getting at is that you want to navigate through a set of data.

There is an easy way of doing this, through using the currency manager. if you have a look at the following article in your visual studio help:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vboridatabindingwindowsforms.htm

or do a search in help for "Data Binding and Windows Forms" (make sure you keep the quote marks and it will find the article with that title).

If you can't find it, let me know and I'll post it here

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inheritance magagulad Visual Basic 2005 Basics 1 May 12th, 2008 07:51 AM
Interface Vs Multiple inheritance anand_instra C# 1 April 30th, 2008 12:16 PM
Is it possible via Inheritance!!! mike_remember ASP.NET 2.0 Professional 0 November 26th, 2007 10:25 AM
c# inheritance bhohman C# 2 March 26th, 2004 01:47 PM



All times are GMT -4. The time now is 03:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.