Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

prevent running same app twice

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2008, 03:01 PM
Knows the basics
 
Join Date: May 2007
Posts: 96
Default prevent running same app twice

Hi,

I now, I now... They told me...
Net prevent you start your app twice at same time... but, I mentioned it before,
I get started my GPS-app in NET1 twice without nowing it, on mobile 3SE.
Therefore, I made a little exe that I start with the Shell() function as first.
Did the job very well, never got a doubble start again.
The rest of time, I used another pocket mobile5, and I removed my snippet, never get a doubble start on this one.

These days, I load my old mobile 3SE with NET2 and the message extension to see how fast it was, worked even faster as the new ones with the opticompiles, VERY SATISFYING (keep up the good work Erel).
Now again, I get trouble with GPS-app starting twice the same, AND IN NET2, so, must be something in the pocket.

It can not be that I am the only in the world with this malfunction.
Therefore I use again that little exe that I start with the Shell() function as first, to prevent a doubble start. And again, IT WORKS...

see atachement.

'WFexist.exe' , replace 'exist' with appname to check i.e. 'WFMyApp.exe'
and place it near your app to check (on the device only).

'----------------------------------
Sub App_Start 'POINT to start

If CPPC = TRUE Then
Shell ("WFSpeedCop.exe", "") 'checking allready running app
End If
'---
'---
'----------------------------------

Put claude Belgium
Attached Files
File Type: zip WFexist.zip (1.0 KB, 68 views)

Last edited by Put Claude : 02-03-2008 at 03:05 PM. Reason: forgot something
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
application already running micro Questions (Windows Mobile) 3 09-04-2008 09:20 AM
running an other applikation Georg Questions (Windows Mobile) 2 04-29-2008 06:01 AM
Is program XYZ running? HARRY Questions (Windows Mobile) 10 01-12-2008 05:06 PM
Running other apps Ianmac Questions (Windows Mobile) 2 12-16-2007 02:30 PM
running in background tvrman Questions (Windows Mobile) 15 08-24-2007 03:37 AM


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0