Cracken
Member
Hi
Could anyone advise me how to call another form in the same application on a button click event.
I do not want to create a new form using
Dim frmNew As Form = New Form()
as it's already in the solution explorer.
If I type in the application name in the event handler I can see the form but I cant get it to fire, the closest code I could find was :
AlbosTemplateManager.frmLogin.ActiveForm.Show()
I get the error :
"Additional information: Object reference not set to an instance of an object."
Any advise would be very helpful.
Thankyou in advance.
Could anyone advise me how to call another form in the same application on a button click event.
I do not want to create a new form using
Dim frmNew As Form = New Form()
as it's already in the solution explorer.
If I type in the application name in the event handler I can see the form but I cant get it to fire, the closest code I could find was :
AlbosTemplateManager.frmLogin.ActiveForm.Show()
I get the error :
"Additional information: Object reference not set to an instance of an object."
Any advise would be very helpful.
Thankyou in advance.