473,406 Members | 2,894 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,406 software developers and data experts.

application should be opened only once...

hi all,
i have design a small project in vb 6 and I have made its EXE also.Now what i want is once i have started my exe than if i try to open it again than it shouldnt get opened i.e. only one instance is allowed to run at a time.

Thanx...
Mar 15 '07 #1
2 879
vijaydiwakar
579 512MB
hi all,
i have design a small project in vb 6 and I have made its EXE also.Now what i want is once i have started my exe than if i try to open it again than it shouldnt get opened i.e. only one instance is allowed to run at a time.

Thanx...
use registry for that
whenevr the application starts it will check the registry first if its alredy made then it will stops its execution
if not then update registry
u may try this with databse also
Mar 15 '07 #2
use registry for that
whenevr the application starts it will check the registry first if its alredy made then it will stops its execution
if not then update registry
u may try this with databse also
ya diwakar i thought of database but feel that it wont be good idea
can u plz tel me how to access registry thru vb
Mar 15 '07 #3

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

Similar topics

2
by: Flo | last post by:
Hello I want to be able to show/hide an application that is running. When i am getting the handles corresponding to an MS Office application (Excel for example), it appears that i get a handle...
7
by: Greg Collins [MVP] | last post by:
Hi, I couldn't find what I was looking for by searching the newsgroup, but perhaps these have already been discussed somewhere. This is a bit long with a lot of interrelated questions. What I've...
17
by: > Adrian | last post by:
I have converted a number of applications to enable them to work together on a network. I have been led to believe that I can do this as follows: FileStream fs = new FileStream(some code); while...
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
17
by: teddysnips | last post by:
One of my clients has asked me to make a change to one of their Access applications. The application is a Front End/Back End standard app. I didn't develop it, but looking at it tells me that...
0
by: Sasie7679 | last post by:
Dear All, We have a requirement to open any document with a specific application and display it within a OCX control (Example - word, excel, adobe reader, MSPaint, Photoshop etc). We are using...
1
by: rkvausi | last post by:
Hi All, Is anybody can help me to find out relation between click once application and web page? I opened one window application from my web page and i want that as soon as I closed that application...
1
by: warfi | last post by:
Dear All, I have been developing a web application using ASP.Net 2.0. In this application, there is a complex screen which goes to like 6 levels which means a web form will be opened, then a...
2
by: iheartvba | last post by:
Hi, I have an application which I would like to firstly open Automatically, and secondly after the application has opened it should execute certain commands within the opened application...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.