Only one Instance
If the programm runs, you can't start it again!
Inputs
base module(insert the code)
change in project/options "form1" into "Sub Main"
Assumes
nothing
Returns
nothing
Rate Only one Instance
(1(1 Vote))
Sub Main()
Dim OldTitle$
If App.PrevInstance Then
OldTitle = App.Title
App.Title = "Newapp.exe"
AppActivate OldTitle
End
End If
Form1.Show
End Sub
Only one Instance Comments
No comments yet — be the first to post one!
Post a Comment