Click here to Skip to main content
15,913,773 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Populate TreeView from multiple tables Pin
jo_eylee9-Aug-06 0:17
jo_eylee9-Aug-06 0:17 
AnswerRe: How to Populate TreeView from multiple tables Pin
Leah_Garrett9-Aug-06 3:11
Leah_Garrett9-Aug-06 3:11 
Questiondisplay web site correctly for most resoultions? Pin
ii_noname_ii8-Aug-06 22:54
ii_noname_ii8-Aug-06 22:54 
AnswerRe: display web site correctly for most resoultions? Pin
Leah_Garrett9-Aug-06 3:24
Leah_Garrett9-Aug-06 3:24 
GeneralRe: display web site correctly for most resoultions? Pin
ii_noname_ii9-Aug-06 4:31
ii_noname_ii9-Aug-06 4:31 
GeneralRe: display web site correctly for most resoultions? Pin
Leah_Garrett9-Aug-06 4:57
Leah_Garrett9-Aug-06 4:57 
GeneralRe: display web site correctly for most resoultions? [modified] Pin
ii_noname_ii9-Aug-06 20:13
ii_noname_ii9-Aug-06 20:13 
QuestionHow to refer to a control from inside a class? Pin
IlanTal8-Aug-06 21:32
IlanTal8-Aug-06 21:32 
Using VB.NET I have defined a class (the first of many to come if it works). Inside the class I have
Public Function Init()

Inside the Init funtion I would like to change the caption of some of the objects on the form. Likewise, I would like to fill a combo box with class specific information.

What I can't figure out is how do I refer to an object on the form in order to change its caption, or fill the contents of its combo box?

In my example I have a button called Test1. If I add inside the Init() function Test1.Text="My test", it doesn't know what to do with it. Since I could do this in VB6, I'm sure there must be a way to do it. I just don't know the proper method.

Can anyone tell me the secret?

Thanks,
Ilan
AnswerRe: How to refer to a control from inside a class? Pin
Guffa8-Aug-06 22:31
Guffa8-Aug-06 22:31 
GeneralRe: How to refer to a control from inside a class? Pin
IlanTal9-Aug-06 0:17
IlanTal9-Aug-06 0:17 
GeneralRe: How to refer to a control from inside a class? Pin
IlanTal9-Aug-06 0:28
IlanTal9-Aug-06 0:28 
GeneralRe: How to refer to a control from inside a class? Pin
Guffa9-Aug-06 2:08
Guffa9-Aug-06 2:08 
GeneralRe: How to refer to a control from inside a class? Pin
IlanTal9-Aug-06 3:11
IlanTal9-Aug-06 3:11 
GeneralRe: How to refer to a control from inside a class? Pin
Leah_Garrett9-Aug-06 4:31
Leah_Garrett9-Aug-06 4:31 
GeneralRe: How to refer to a control from inside a class? Pin
Dave Kreskowiak9-Aug-06 4:52
mveDave Kreskowiak9-Aug-06 4:52 
GeneralRe: How to refer to a control from inside a class? Pin
IlanTal9-Aug-06 19:16
IlanTal9-Aug-06 19:16 
GeneralRe: How to refer to a control from inside a class? Pin
Guffa9-Aug-06 23:41
Guffa9-Aug-06 23:41 
Questionhow to show detail on list view? Pin
campbells8-Aug-06 17:42
campbells8-Aug-06 17:42 
AnswerRe: how to show detail on list view? Pin
Rizwan Bashir8-Aug-06 21:16
Rizwan Bashir8-Aug-06 21:16 
GeneralRe: how to show detail on list view? Pin
campbells8-Aug-06 21:31
campbells8-Aug-06 21:31 
QuestionCustom Control Datasource Pin
Thomas Wells8-Aug-06 12:11
Thomas Wells8-Aug-06 12:11 
AnswerRe: Custom Control Datasource Pin
Thomas Wells8-Aug-06 12:58
Thomas Wells8-Aug-06 12:58 
QuestionGetting xml from webservice into dataset Pin
digsy_8-Aug-06 10:54
digsy_8-Aug-06 10:54 
AnswerRe: Getting xml from webservice into dataset [modified] Pin
Keith Malwitz8-Aug-06 18:01
Keith Malwitz8-Aug-06 18:01 
GeneralRe: Getting xml from webservice into dataset Pin
digsy_9-Aug-06 1:51
digsy_9-Aug-06 1:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.