Maybe, but hopefully they don't abuse this forum with C# code.
Try the neighbors instead
If you are using VB.NET then the code you have posted there is in C#
- did you get it from another site?
Or are you confusing Visual Studio .NET (the environment you design and code in) with Visual Basic - one of several languages you can use within Visual studio?
If its C# you are wanting / supposed to be coding in then please see the link in Cors post :)
To start i would convert the code to vb.net and then put it back in your project, and rework it there to make it work with your project.
to get started.