G
Guest
Hi,
I'm working in vb.net and have one form that creates a second form. I need
the first form pass info to the second form.
I tried using a shared property in the first form and got this error :
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.
I changed the shared property to public and got this error :
Reference to a non-shared member requires an object reference.
Does anyone know how I could do this?
Thanks,
Guy
I'm working in vb.net and have one form that creates a second form. I need
the first form pass info to the second form.
I tried using a shared property in the first form and got this error :
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.
I changed the shared property to public and got this error :
Reference to a non-shared member requires an object reference.
Does anyone know how I could do this?
Thanks,
Guy