so im a noob at coding just started yesterday. I bought a visual basic 2010 guide book and i am working on my first example/practis program. I keep getting this error in my code before i go to try to test it out. 'picShowPicture' is not declared. It may be inaccessible due to its protection level'. i have no idead what or how to fix this so i hope someone on here does. Here is a screen shot of the coding and error message.

Link to screen-shot of the code.
http://www.facebook.com/media/set/?set=a.1886228729889.104020.1666542986#!/photo.php?fbid=1886228769890&set=a.1886228729889.104020.1666542986&type=1&theater

Recommended Answers

All 2 Replies

sorry i don't open face book for coding

Try adding

Dim picShowPicture As Image

at the beginning of you class.

So just beneath

Public Class ViewerForm
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.