Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 VB 2005 express edition
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Janssen




PostPosted: 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. Crying or Very sad i want VB 5 lol

thanks
Sponsor
Sponsor
Sponsor
sponsor
cool dude




PostPosted: Sat Jun 10, 2006 6:55 pm   Post subject: (No subject)

don't u mean u want VB 6 Wink 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




PostPosted: 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




PostPosted: 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




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Brightguy




PostPosted: Thu Jun 15, 2006 6:39 am   Post subject: Re: VB 2005 express edition

There also is a free version of VB5.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: