Author |
Message |
Janssen
|
Posted: Sat Jun 10, 2006 6:39 pm Post subject: VB 2005 express edition |
|
|
As you may of read b4 was that i needed a version of VB to do school work on, I found this version and Im very unfamilar with the new functions, such as instead of unload theres close. my delema now is I dont knw how to declare global variables in this version. theres a global function but i dont knw how to use it or if its used for making variables global at all. I need help bad, and the help within is not very useful and somewhat confusing itself. i want VB 5 lol
thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
cool dude
|
Posted: Sat Jun 10, 2006 6:55 pm Post subject: (No subject) |
|
|
don't u mean u want VB 6 also even if the syntax is slightly different if u know how to program it shouldn't be hard to figure out the syntax. try the help index or google. to make a global variable u declare it out of the procedures/functions. i.e. declare all your variables at the very top of your code. i dunno if that will work considering i don't have that version, but worth a try. |
|
|
|
|
|
Janssen
|
Posted: Sat Jun 10, 2006 7:10 pm Post subject: (No subject) |
|
|
I tried that already, for each item (ie, form,module,etc...) of a project has its own seperate variables when I declare variables in what I believe is a Global area its not. any suggestions |
|
|
|
|
|
cool dude
|
Posted: Sat Jun 10, 2006 9:51 pm Post subject: (No subject) |
|
|
just to tell u global variables aren't good to use unless needed. anyhow asside from that note u can make a module and declare the variables as public which will allow u to globaly use these variables |
|
|
|
|
|
Tony
|
Posted: Sun Jun 11, 2006 11:33 am Post subject: (No subject) |
|
|
isn't VB 2005 Express for VB.Net?
anyways, global variables are usually a bad idea. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Brightguy
|
Posted: Thu Jun 15, 2006 6:39 am Post subject: Re: VB 2005 express edition |
|
|
There also is a free version of VB5. |
|
|
|
|
|
|