| | |
Single instance
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
What exactly are you asking? Please describe the problem better.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
I don't think there is any one specific way to limit a program to a single instance. Some use a registry entry to determine if there is an instance already running, while others use a file or create a system-wide semaphore (see MSDN for CreateSemaphore() win32 api function)
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
> Does anyone know how to do single instance in VB.. Pls help me...
Are you talking about creating class instances in a VB program... ?
Are you talking about creating class instances in a VB program... ?
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
![]() |
Similar Threads
- What's better? Windows 2000 Server or Linux Server? (Windows Servers and IIS)
- How to stop opening multiple instance for a jar file (Java)
- Extracting data from large SINGLE-table database to MULT-table relational database (MySQL)
- For some reason program installations cannot create new start menu shortcuts... (Windows NT / 2000 / XP)
- On your site - How many ads are too many? (Advertising Sales Strategies)
- My Pc keeps restarting when connecting to the internet (Troubleshooting Dead Machines)
- Linux Audio Streaming (live!) using Ices and Icecast (*nix Software)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: how can i find "Software Version" using VB6?
- Next Thread: Error 424-object required
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






