Steps:
1. Open VS2008 + File Menu + Project + VisualBasic + Console Application
2. Remove the content of Module1.vb
3. Copy+paste the code you just posted into the Module1.vb
4. Solution explorer + Right click on project name + Properties + Startup Object = Sub Main (choose Sub Main option)
5. F5 to run.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Glad you got it woking. Use [code] [/code] tags to wrap programming code.
Please mark this thread as solved if you have found an answer to your question and good luck!
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241