here is my project categorization
and i have this line in my class library project
Application.OpenForms(0).Invoke(New EventHandler(AddressOf prin))
and when i compile it shows me this error:
'Application' is not declared. It may be inaccessible due to its protection level
i googled a lot this error and found it can maybe related to application is not in the NameSpace library project.i want to know how can solve this problem?
any help would greatly appreciated
Try adding a reference to System.Windows.Forms and add this line
to your code: Imports System.Windows.Forms. Then
Application.OpenForms(0) should be available.
Click in top of solution "Show all Files" and set it to true, then you see the rest.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?