AW: add an app to windows startup
Joerg Toellner
toellner at oss-gmbh.de
Tue Mar 13 00:34:52 PDT 2007
Hi supermega,
Yes, there is a registry key under windows. Add your key for your
startup-app under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Give your key a name of your wish, and set the value (a REG_SZ type) to
absolute path to your exe and add your commandline parameters you need also.
Then your app will start automatically when windows starts.
And yes, you can set the key with wxWidgets. Have a look at the manual for
wxRegKey
http://www.wxwidgets.org/manuals/stable/wx_wxregkey.html#wxregkey
This is available for windows only (but you said you need it only for this
OS).
HTH
JoTo
-----Ursprüngliche Nachricht-----
Von: supermega [mailto:tomekgruca at gmail.com]
Gesendet: Dienstag, 13. März 2007 00:10
An: wx-users at lists.wxwidgets.org
Betreff: add an app to windows startup
Hi,
I'd like to write a simple app that adds some .exe file to startup (windows
only).
It may be done by modyfing registry (is it possible to add a specyfic key in
the registry?) or adding some file (.lnk?) to start menu -> programs ->
startup.
Is it possible to do that in wxwidgets?
--
Tomek
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list