|
-
Aug 10th, 2010, 07:24 AM
#1
Thread Starter
New Member
please help me
My question is how can i open a single .exe file that i created in Visual Basic 6.0
-
Aug 10th, 2010, 07:33 AM
#2
-
Aug 10th, 2010, 07:41 AM
#3
Thread Starter
New Member
Re: please help me
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.
-
Aug 10th, 2010, 07:45 AM
#4
Re: please help me
If App.PrevInstance = True Then
MsgBox "Stop it"
End
End If
-
Aug 10th, 2010, 07:47 AM
#5
Re: please help me
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.
-
Aug 10th, 2010, 07:48 AM
#6
Thread Starter
New Member
Re: please help me
is there a code in visual basic 6.0 that can manipulate that?
-
Aug 10th, 2010, 07:52 AM
#7
Thread Starter
New Member
Re: please help me
where should i put that code?
-
Aug 10th, 2010, 07:53 AM
#8
Re: please help me
The message box was a joke...
In the Form_load - First thing
If App.PrevInstance = True Then
End
End If
-
Aug 10th, 2010, 07:57 AM
#9
Thread Starter
New Member
Re: please help me
thanks!
how about on the system tray?when i click the minimized button my exe file will be on the system tray.
-
Aug 10th, 2010, 07:58 AM
#10
-
Aug 10th, 2010, 08:03 AM
#11
Thread Starter
New Member
Re: please help me
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.
-
Aug 10th, 2010, 08:05 AM
#12
Re: please help me
Use the Forum search feature. Start with "minimize taskbar".
-
Aug 10th, 2010, 08:14 AM
#13
Re: please help me
Using End is not a very good idea. You should take steps to properly unload and exit your application.
-
Aug 10th, 2010, 08:15 AM
#14
Re: please help me
What will be loaded at that point?
-
Aug 10th, 2010, 08:18 AM
#15
Thread Starter
New Member
Re: please help me
.yo!
do you know how to use the tree view?
-
Aug 10th, 2010, 08:23 AM
#16
Re: please help me
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.
-
Aug 10th, 2010, 08:28 AM
#17
Thread Starter
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|