|
-
Aug 3rd, 2006, 07:31 AM
#1
Thread Starter
PowerPoster
accessing variables in startup form
When the Form1 gets instantiated at startup, what is its name? How do i access variables in Form1 from other forms?
-
Aug 3rd, 2006, 07:54 AM
#2
Re: accessing variables in startup form
Forms in VB.NET objects created from classes. So to access another object's data from one object the object needs to know about the existence of that Form Object.
Here is a nice tutorial that explains how to use Forms in VB.NET
http://www.devcity.net/Articles/94/multipleforms.aspx
Use [code] source code here[/code] tags when you post source code.
My Articles
-
Aug 3rd, 2006, 08:00 AM
#3
Re: accessing variables in startup form
Don't create duplicate threads.
one topic = one thread
one thread = one topic
Pretty simple.
-
Aug 3rd, 2006, 08:41 AM
#4
Thread Starter
PowerPoster
Re: accessing variables in startup form
 Originally Posted by Shuja Ali
Forms in VB.NET objects created from classes. So to access another object's data from one object the object needs to know about the existence of that Form Object.
Here is a nice tutorial that explains how to use Forms in VB.NET
http://www.devcity.net/Articles/94/multipleforms.aspx
Thanks for the link!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|