Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic
Stopping multiple instances of program from running
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
gobblegob
New Member
Join Date:
Dec 2007
Posts:
133
#1
Stopping multiple instances of program from running
Jan 31 '08, 10:35 AM
I would like to know some code to check if my program is running, if so then not load.
Thanks in advanced,
Gobble.
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#2
Jan 31 '08, 10:48 AM
This topic has already been discussed here in the forum several times before . Please use the search box for related discussions.
Comment
Post
Cancel
gobblegob
New Member
Join Date:
Dec 2007
Posts:
133
#3
Jan 31 '08, 11:23 AM
Sorry but i cant i cant find anything in this forum for stopping it happen in VB6.
Gobble.
Comment
Post
Cancel
lotus18
Contributor
Join Date:
Nov 2007
Posts:
865
#4
Jan 31 '08, 11:38 AM
Originally posted by
gobblegob
Sorry but i cant i cant find anything in this forum for stopping it happen in VB6.
Gobble.
Hi
You can use
[CODE=vb]If App.PrevInstanc e=True Then
Msgbox "System is running"
End If[/CODE]
Rey Sean
Comment
Post
Cancel
gobblegob
New Member
Join Date:
Dec 2007
Posts:
133
#5
Feb 1 '08, 12:41 AM
Originally posted by
lotus18
Hi
You can use
[CODE=vb]If App.PrevInstanc e=True Then
Msgbox "System is running"
End If[/CODE]
Rey Sean
Thankyou kind sir :)
Gobble.
Comment
Post
Cancel
lotus18
Contributor
Join Date:
Nov 2007
Posts:
865
#6
Feb 1 '08, 03:51 AM
Originally posted by
gobblegob
Thankyou kind sir :)
Gobble.
You're welcome .
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment