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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

application already running

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2008, 06:27 PM
Senior Member
 
Join Date: May 2008
Posts: 163
Default application already running

Hi to all
shell is used to start applications, and to see if an application is already running?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 09-03-2008, 06:41 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by micro View Post
Hi to all
shell is used to start applications, and to see if an application is already running?
Shell can only start an application, it cannot tell when that application ends or whether an application is already running or not.

The Process object in my Threading library http://www.basic4ppc.com/forum/addit...-compiler.html can start an application and tell you when it ends but cannot tell whether an application is already running or not. While the Thread object needs an optimised compiled app to work the Process object will work in all applications but needs .NET 2.0.
Reply With Quote
  #3 (permalink)  
Old 09-04-2008, 07:33 AM
Senior Member
 
Join Date: May 2008
Posts: 163
Default

Thanks agraham,
but a list of active apllications how can I get with basic4ppc?

Best Regards
Reply With Quote
  #4 (permalink)  
Old 09-04-2008, 10:20 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by micro View Post
but a list of active apllications how can I get with basic4ppc?
Check out GetProcesses in dzts dz-hw libraries http://www.basic4ppc.com/forum/addit...library-2.html See post #15 for the library and post #18 for my not-very-good help file.
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
send information to running application Mr_Gee Questions (Windows Mobile) 8 08-06-2008 12:10 PM
prevent running same app twice Put Claude Share Your Creations 0 02-03-2008 04:01 PM
Is program XYZ running? HARRY Questions (Windows Mobile) 10 01-12-2008 06:06 PM
Running other apps Ianmac Questions (Windows Mobile) 2 12-16-2007 03:30 PM
Background running application eddy_ys Questions (Windows Mobile) 5 09-27-2007 09:29 AM


All times are GMT. The time now is 03:42 AM.


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