AnsweredAssumed Answered

VB .NET Calling a Form

Question asked by gdebruin on Mar 5, 2012
Latest reply on Jul 30, 2012 by isbellj
Hi,

I'm in the process of converting code from VBA to VB. NET, and I'm having trouble calling a form I created from a button.
Here's what I've tried so far:

Protected Overrides Sub OnClick()

Dim FormLogin As New System.Windows.Forms.Form
FormLogin.Show()

End Sub

This brings up the form, but it's a completely blank form, which the form I'm attempting to call is not.
Any help is appreciated.

Thank you,
cdebruin

Outcomes