I guess that too and I just come out with a workaround.
I just change the following code and everything works
Public gReqInfo As New RequestInfo
I will try to create a shared procedure and see if it works as the 2nd solution.
Thks JohnH for your advice.
Ok.
I have:
1. Create a Login.vb windows form. And in this form I have a button which will instantiate a new RequestInfo and assign to gReqInfo.
Public Class Login
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...
Hi All
I am trying to resolve an "Object reference not set to an instance of an object. " during the design time.
Basically I have a base form with a button only (Form1.vb). And I have another Form2 inheriting from Form1. In the Form_Load event of Form1, I need to access to a global variable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.