Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Talk

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-30-2003, 03:43 PM
Pupil
Join Date: Sep 2003
Posts: 12
Default Run program when started

I am trying to run a application installed on my pocketpc when I turn the PPC on. Does anyone know how to do this natively without a third party application and WITHOUT touching any buttons at all totaly hands free except of course for turning the unit on. Any help would be great. 0X
 
Reply With Quote
  #2 (permalink)  
Old 09-30-2003, 04:00 PM
Intellectual
Join Date: Dec 2002
Posts: 222
Send a message via MSN to upplepop

Open File Explorer, find the executable to the application you want to run automatically, tap and hold and copy the file. Navigate to Windows/Start Up tap on the Edit menu and Paste Shortcut. Now the program will start automatically after a soft reset.

I hope this is what you meant. If, on the other hand, you want a program to run every time you turn the device on, I don't know of any method other than making sure the program's running when you power down the device.
 
Reply With Quote
  #3 (permalink)  
Old 09-30-2003, 06:24 PM
Philosopher
Join Date: Jul 2003
Posts: 496
Send a message via AIM to Kaber

CeRunAppAtEvent(_T("\\MyApp.exe"), NOTIFICATION_EVENT_WAKEUP);
 
Reply With Quote
  #4 (permalink)  
Old 09-30-2003, 07:24 PM
Pupil
Join Date: Sep 2003
Posts: 12
Default Where should I put this

Where should I put this string in the registry??
 
Reply With Quote
  #5 (permalink)  
Old 04-12-2004, 12:50 AM
Pontificator
Join Date: Mar 2004
Posts: 1,065

Quote:
Originally Posted by Kaber
CeRunAppAtEvent(_T("\\MyApp.exe"), NOTIFICATION_EVENT_WAKEUP);
Yeah, where does this string go? In the registry?
 
Reply With Quote
  #6 (permalink)  
Old 04-12-2004, 02:27 AM
Philosopher
Join Date: Jul 2003
Posts: 496
Send a message via AIM to Kaber

http://www.pocketpcdn.com/articles/run_at_startup.html

Sorry. It's EVB code.
 
Reply With Quote
  #7 (permalink)  
Old 04-12-2004, 11:46 AM
Pontificator
Join Date: Nov 2003
Posts: 1,209
Send a message via MSN to Kowalski

[/quote]Open File Explorer, find the executable to the application you want to run automatically, tap and hold and copy the file. Navigate to Windows/Start Up tap on the Edit menu and Paste Shortcut. Now the program will start automatically after a soft reset.
Quote:

i didnt try it but it seems that this works just after a soft reset.
__________________
I used to think, that the universe is a random caotic sequence of meaningless events. But i see now that there is reason and purpose to all things.
Jerry Seinfeld
 
Reply With Quote
  #8 (permalink)  
Old 04-13-2004, 02:33 AM
Pontificator
Join Date: Mar 2004
Posts: 1,065

Quote:
Originally Posted by upplepop
Open File Explorer, find the executable to the application you want to run automatically, tap and hold and copy the file. Navigate to Windows/Start Up tap on the Edit menu and Paste Shortcut. Now the program will start automatically after a soft reset.
Thanks! This seems to work really well for programs that are installed on main memory. However, it seems to cause problems for programs installed on a memory card.
 
Reply With Quote
  #9 (permalink)  
Old 04-13-2004, 03:21 AM
Swami
Join Date: Jun 2007
Posts: 4,592

Quote:
Originally Posted by zkmusa
Quote:
Originally Posted by upplepop
Open File Explorer, find the executable to the application you want to run automatically, tap and hold and copy the file. Navigate to Windows/Start Up tap on the Edit menu and Paste Shortcut. Now the program will start automatically after a soft reset.
Thanks! This seems to work really well for programs that are installed on main memory. However, it seems to cause problems for programs installed on a memory card.
That is actually to be expected. There are drivers that are required to access memory cards, RAM disks, and even the extra user accessible ROM area some PPCs have. If those drivers are not fully functional before the OS tries to 'run' that startup app, it may not be able to get to it. That is why most apps of this nature need to be installed into Main RAM.
 
Reply With Quote
  #10 (permalink)  
Old 04-13-2004, 10:24 PM
Intellectual
Join Date: Nov 2004
Posts: 118

Maybe you can try to figure out what driver it is that needs to be ran first. Then do the same thing by copying it to startup. I have no idea if this would even be possible or if it would read the driver before the other app but it was just a thought.
 
Reply With Quote
Reply


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

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


All times are GMT +1. The time now is 10:11 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7