There are several excellent examples on exactly how to do that online, all of which are in C# though, I'm afraid.
If converting one from C# to VB is terribly tricky for you, you could ask Shaggy Hiker who has done just that not too long ago.
I tried to use some XNA-code in a windows-control as well, but failed due to the inability of my copy of VB.Net to create an empty content-project (which was needed for my XNA code to work). If you're using VB Express 2010 and XNA 4.0, I'd advice you to abandon the project and try out pure XNA for VB in the free 2010 Express for Windows Phone. Or you could switch to C# (which for some reason has every available template, whereas those templates cannot be neither used nor exported to VB).





Reply With Quote