473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Stopping multiple instances of program from running

133 100+
I would like to know some code to check if my program is running, if so then not load.

Thanks in advanced,
Gobble.
Jan 31 '08 #1
5 1402
debasisdas
8,127 Expert 4TB
This topic has already been discussed here in the forum several times before . Please use the search box for related discussions.
Jan 31 '08 #2
gobblegob
133 100+
Sorry but i cant i cant find anything in this forum for stopping it happen in VB6.

Gobble.
Jan 31 '08 #3
lotus18
866 512MB
Sorry but i cant i cant find anything in this forum for stopping it happen in VB6.

Gobble.
Hi

You can use

Expand|Select|Wrap|Line Numbers
  1. If App.PrevInstance=True Then
  2.      Msgbox "System is running"
  3. End If
Rey Sean
Jan 31 '08 #4
gobblegob
133 100+
Hi

You can use

Expand|Select|Wrap|Line Numbers
  1. If App.PrevInstance=True Then
  2.      Msgbox "System is running"
  3. End If
Rey Sean
Thankyou kind sir :)
Gobble.
Feb 1 '08 #5
lotus18
866 512MB
Thankyou kind sir :)
Gobble.
You're welcome .
Feb 1 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Rahul | last post by:
Hi. I am part of a group in my univ where we organize a programming contest. In this contest we have a UDP based server. The server simulates a game and each contestant is to develop a team of...
5
by: Shuaib | last post by:
I wonder if anybody could shed some light on a problem I am encountering. I have written a program in C that runs on Solaris 2.8. At busy times of the day there may be multiple instances of it...
11
by: Clark Stevens | last post by:
I just finished a WinForms app in VB.NET. I want to allow the user to be able to run multiple instances of the program like you can with Notepad and Wordpad. The way it is now, once I run the...
1
by: sunil | last post by:
Hello All. I have written a program as an exe that performs some kind of order processing. The program is first configured and then started manually. I have have multiple instances of this...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.