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.
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...
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...