Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog
"Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead."
what's the problem?
"Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead."
what's the problem?
-mark
Program Manager
Microsoft
This post is provided "as-is"
the first to ckeck the connection string if it was saved i run the second to check the Choosen Language, and it is another user saved setting
the first code: Dim
Try
con.Open()
If con.State = Data.ConnectionState.Open Thencon.Close()
Application.Run(
New StartUp()) Me.Close() End If Catch ex As Exception End Trythe second code:
If My.Settings.SaveLang = true Then
Application.Run(
New arMain) Me.Close() ElseIf My.Settings.Lang = "En" ThenApplication.Run(
New EnMain) Me.Close() End If End If