Simple form operations?

  • Thread starter Thread starter Bent S. Lund
  • Start date Start date
B

Bent S. Lund

Hi,

I'm a bit confused on the forms subject in CompactFramework.


I have a Sub Main instantiating a frmSplash.
In the OnLoad event of frmSplash i connect to a database.

Then; I want to load frmProjectList, unload frmSplash and generally run the
app from there.


Module modStart

Public Sub Main()

Dim frmSplash As New frmSplash

Dim frmProjectList As New frmProjectList

frmSplash.Show()

frmProjectList.Show()

frmSplash.Close()



End Sub

End Module



What happens is that frmSplash shows, then it closes....and nothing!

The Load event on the frmProjectList is triggered, but no form appears!





ANy ideas?

Regards,

Bent
 
Thanks,

this was very useful information!




Regards

Bent S. Lund
System Developer
MCP VB
 
Back
Top