I'm getting this error and I'm not sure why, haven't used vb.net much:
"C:\Label\MakeLabel.vb(149): Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class."
+ windows form deseigner generated code
Public Const projectname as String = "myProject"
Public strLabelName As String = txtLabel.Text
Shared Sub Main()
I can't access strLabelName here, this is where I get the error.
Shared Sub btnUpdate_Click()