![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
@Erel
I think, he is talking about desktop. @Put You can check your Form Title, and if it exists then quit the app. You can do that using my dzHWdesktop.dll (latest version) posted here Useful Library Code:
Sub Globals
End Sub
Sub App_Start
dzhw.New1
If dzhw.GetWindowHandle("null", "Form Title") > 0 Then
AppClose
End If
Form1.Show
End Sub
|
|
|||
|
Hi,
Yes, did get 2 instance on Acer 300 WM5... Noticed it when my gps-program counted every 2 seconds, I quit the program and get the underlying second same program that counts now every second, so... for some reason, the system did not prevent a second instance at same time. dz, did not find that in helpfile: dzhw.GetWindowHandle("null", "Form Title") Made a little WF.exe in C (window find) that checks if my application already is open, so yes, bring it to front, and cancel the second launch. My solution: Start this little exe with the shell function as first line in my application... Put Claude Belgium Last edited by Put Claude : 10-02-2007 at 02:58 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dim variable c% as Double | colin9876 | Basic4ppc Wishlist | 8 | 05-28-2008 01:26 PM |
| How to use double quotes in a text ? | origami | Questions & Help Needed | 3 | 04-27-2008 06:58 AM |
| How to disable launch application at given time? | jesb4ppc | Questions & Help Needed | 4 | 07-11-2007 04:48 PM |
| associating a hardware key with a program to launch it... | Cableguy | Questions & Help Needed | 4 | 07-07-2007 07:07 PM |
| launch and close other applications | dbo33 | Basic4ppc Wishlist | 4 | 06-02-2007 06:03 AM |