please help with demo from msdn (it displays a blank form)

The problem is that some of that example code clashes with what's already in your form. You wouldn't normally construct a form like that but, if you want to make that code work, do the following:

1. Delete the form from your project in the Solution Explorer.
2. Add a new Class to your project and name it Form1.
3. Copy the entire code form that example and replace the entire contents of the class file.
4. Delete the Namespace and End Namespace lines from the code.

You should now be able to successfully run the project and display the form.
 
Thank you for taking the time to write the explanation and help me out.

I'm sure there are much more interesting things to do than help with such a simple matter, and I am grateful!

I really wanted to see that example so I could figure out how it works!!

I'd buy you a beer if I could!

I've been messing around with Visual Studio Express 2012 and just searching for help when I couldn't figure something out, and I realized I missed a lot of "basic" stuff so I went back and did the MSDN tutorials yesterday for creating the picture viewer/maze/math quiz/matching game to try to fill in the holes in my Swiss-cheese brain...
 
Back
Top