IT Community - Software Programming, Web Development and Technical Support

How to create an auto startup application on WM5 ?

This is a discussion on How to create an auto startup application on WM5 ? within the Windows Mobile forums, part of the Mobile Software Development category; [b]How to create an auto startup application on WM5 ? hi all I m asked to develop a application that ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development > Windows Mobile

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-17-2007, 11:07 PM
theone theone is offline
D-Web Sr.Programmer
 
Join Date: Jun 2007
Posts: 129
theone is on a distinguished road
Default How to create an auto startup application on WM5 ?

[b]How to create an auto startup application on WM5 ?
hi all I m asked to develop a application that will start automatically and will be in memory and at specific time it will show up some messages, basically it is appointment scheduler that will show time at specific time.
in windows, windows services are there which starts automatically and are continuously running in background or the simple application that make entry in register "Run" key and starts automatically when computer starts.

How to develop such application for WM5 devices is that possible or not. Any idea?
Automatically start up and running in background.

Thanks in advance..

Last edited by theone : 07-30-2007 at 03:48 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2007, 03:49 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Thumbs up Re: How to create an auto startup application on WM5 ?

Hi the one,

You can do it to ways,

Method 1:
Yes. Make an application which does that and add shortcut to it to startup folder. You can also make a service for WM but that is more complicated and not need.

Method 2: Using a shortcut in a start-up folder is highly recommended. Another possibility is to add full path to your application to registry, at this level:
HKEY_LOCAL_MACHINE\Init

Two values are needed:
"LaunchXXX"="full_path_to_your_app.exe"
"DependXXX"=hex:16,etc
The depend key, as its name says, lists what applications your application is depending on. So, the OS will wait for these applications to be started first, and then your app shall be executed.
This also requires that your application call back into OS by calling SignalStarted().

Hope Informative,
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add my site in windows startup? varghese Web Design Help 10 09-26-2008 01:12 AM
how to add my site in windows startup? varghese Web Design Help 1 04-07-2008 11:22 PM
can i make auto login? saravanan Operating Systems 0 03-21-2008 05:33 AM
Googlebot Auto Email Sabari PHP Programming 20 12-05-2007 07:00 AM
How to create a client application using irDA with the OBEX protocol? oxygen Mobile Software Development 3 08-09-2007 03:07 AM


All times are GMT -7. The time now is 09:22 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0