View Single Post
  #2 (permalink)  
Old 05-09-2008, 11:10 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 4,899
Last Blog:
Web slideshow in JavaS...
Rep Power: 42
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Creating a Class in Visual Studios.Net (Visual Basic Section)

The End Class should not be at the top, but at the bottom with the REM statements. Incidentally, you can now use the ' character instead of REM to comment.

In VS using a module to write a class is a pointless way, when you can actually add your own class directly. To do this, go to Add New Item and choose Class. Give it a name, and accept. It should load up with code already set up. Simply add the methods to populate the class.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Reply With Quote