AccessShell
Member
- Joined
- Jun 14, 2016
- Messages
- 21
- Programming Experience
- 10+
I can' seem to open a form
In Public Class frmX
Inherits System.Windows.Forms.Form
Dim oForm as frmX
In Private Sub frmX_Load(... Normal stuff ...)
oForm = New frmX
oForm.Show()
NOTE: On the green line above I can't get the () to stay at the end.
When run I get am error msg on the last line
Microsoft Development Environment
An unauthorized exception of type 'System.ComponentModel.Win32Exception'
occurred in system.windows.forms.dll"
Is this a windows handle issue, an shouldn't this happen automatically?
Thanks
In Public Class frmX
Inherits System.Windows.Forms.Form
Dim oForm as frmX
In Private Sub frmX_Load(... Normal stuff ...)
oForm = New frmX
oForm.Show()
NOTE: On the green line above I can't get the () to stay at the end.
When run I get am error msg on the last line
Microsoft Development Environment
An unauthorized exception of type 'System.ComponentModel.Win32Exception'
occurred in system.windows.forms.dll"
Is this a windows handle issue, an shouldn't this happen automatically?
Thanks