Quote Originally Posted by SweetZVB.NET View Post
I get a "'Imports' statements must precede any declarations."
Just as the error message says. Notice that the Imports statements are at the very top of the code I posted? That's where Imports statements must be: at the very top of a code file.

It seems to me that you're missing some of the fundamentals of VB programming. Not a sin, but I'd suggest that that's what you should concentrate on first. Working through a beginner tutorial from start to finish can help with that. Here's a good one:

http://www.homeandlearn.co.uk/NET/vbNET.html