|
-
Jun 30th, 2004, 06:45 PM
#1
Thread Starter
New Member
VB.NET and forms problems
I know this question might have been asked a zillion times,
I am just starting out in vb.net, I used vb6 and thought of upgrading to the new language.
I learnt lots of new stuff about .net and some things are similar to vb6 and some stuff are not.
I came to forms, and geez I found myself inside a new unexplored ocean, gone are the simplicty of form.show()
and acessing a forms property with the simplicity of vb6.
My problem is this, I have 2 forms, formA and FormB.
I load FormA, now imagine FormB as an options form that the changes made to formB will reflect on FormA. eg. on FormB I have an option called Background Color, I want that when the user chooses a color on formB, it will show on formA.
The main form (the one that loads first is FormA). and from FormA
I load FormB.
I used the command,
Dim variablename as FormA
in FormB and then typing
variablename.bgColor bla bla
but to no avail.
Can somebody help me, or redirect me to a good online tutorial on forms,which covers this aspect, and is intended mainly for beginners or intermediate programmers.
I am a hobby programmer, this is not my full time job so please remeber this when answering to this thread, that I am not a guru in this lanquage.
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
|