My question is how can i open a single .exe file that i created in Visual Basic 6.0
:wave:
Printable View
My question is how can i open a single .exe file that i created in Visual Basic 6.0
:wave:
Double-click it.
i created an enrollment system that is made in vb6,my problem is when m enrollment system is running you can open an exe file of my enrollment again which results to multiple login.
If App.PrevInstance = True Then
MsgBox "Stop it"
End
End If
That's a totaly different question. To prevent multiple instances, in your main load event you need to check for: App.PrevInstance, if that returns True it means your application is already running and you need to prevent (Unload) it from running again.
is there a code in visual basic 6.0 that can manipulate that?
where should i put that code?
The message box was a joke...
In the Form_load - First thing
If App.PrevInstance = True Then
End
End If
thanks!
how about on the system tray?when i click the minimized button my exe file will be on the system tray.
????
the minimized button on the form.if you click that button the form will be minimized but not in the taskbar instead it is in the system tray.
Use the Forum search feature. Start with "minimize taskbar".
Using End is not a very good idea. You should take steps to properly unload and exit your application.
What will be loaded at that point?
.yo!
do you know how to use the tree view?
You should probably try to do one thing at a time. That being said, you can find answers to a lot of questions by Searching the Forum, also check out the FAQ question where you'll find a lot of info on how to do most common things.
,yeah..
^_^