K
Kohn
The following code fragment will only show the first
form. Subsequent forms show up in "Settings, Memory,
Running Programs" and have to be activated. The actual
program uses other threads and the Invoke method for
updating controls so I have to use "Application.Run(frm)"
otherwise, "frm.ShowDialog()" doesn't process the Invokes.
Sub Main()
Dim f1 As Focus1
Dim f2 As Focus2
Do
f1 = New Focus1
Application.Run(f1)
f2 = New Focus2
Application.Run(f2)
Loop
End Sub
Thanks
form. Subsequent forms show up in "Settings, Memory,
Running Programs" and have to be activated. The actual
program uses other threads and the Invoke method for
updating controls so I have to use "Application.Run(frm)"
otherwise, "frm.ShowDialog()" doesn't process the Invokes.
Sub Main()
Dim f1 As Focus1
Dim f2 As Focus2
Do
f1 = New Focus1
Application.Run(f1)
f2 = New Focus2
Application.Run(f2)
Loop
End Sub
Thanks