Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Protection Level error?????
 

Protection Level error?????

HOW TO Use DATA OF From1 at Form2.

this error came..

Error3'ISTVI.Form2.comboBox1' is inaccessible due to its protection level

But All my classes are public so

this must work

Messagebox(Form2.combobox1.text.tostring());

this same thing works in VS2003 but not in Vs2005

Aatif latif  Wednesday, May 24, 2006 7:21 AM
your classes are public but the controls are not.
set the combobox1 "Modifier" Property to "Public" in Form2
Fahad Mukhtar  Wednesday, May 31, 2006 9:20 AM
your classes are public but the controls are not.
set the combobox1 "Modifier" Property to "Public" in Form2
Fahad Mukhtar  Wednesday, May 31, 2006 9:20 AM

You can use google to search for other answers

Custom Search

More Threads

• Creating Progressbar control in gridview column
• http://localhost/TaskVisionWS don't work..
• What happened to the Tarrarium Forum?
• How come there is no download or synchronize option?
• Use windows media player in C#
• Sql Method calls
• Hosting a server vs. simple peer-to-peer?
• How to Determine my Eyesight Radius
• Terrarium: can't receive bugs from peers
• Inconsistent set of Dlls