Auto launch of app, after normal power on after FPA has run

T

Tom

I looked at the Nov 2 dialog of "Automatic launch of an
application" hoping to find why mine won't start either.

When I created the component for my application, under
registry data I added HKEY_CURRENT_USER
Software\Microsoft\Windows\CurrentVersion\RunOnceEx which
I think is correct for my Explorer shell (According to
help \Run is for command shell). I really need a better
explanation as to what to put in the "value" and "value
name" fields. Right now I have app_name.exe (no path) for
the "value" and the component's name in the "value name".
In KM's answer I wasn't clear on when to use
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon]"Userinit".

I created a desktop shortcut to the component. My
application runs fine when I double click on the shortcut
icon.

Tom
 
K

KM

Tom,

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] should
work for you if you have Explorer shell.
The value set can be: "MyAppName"="myapp.exe"(REG_SZ type) or
"MyAppName"="<my app path>\myapp.exe"

I don't think you have to use [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\"Userinit"]. It may be used if you are playing
with your custom shell.

KM

T> I looked at the Nov 2 dialog of "Automatic launch of an application"
T> hoping to find why mine won't start either.

T> When I created the component for my application, under registry data
T> I added HKEY_CURRENT_USER
T> Software\Microsoft\Windows\CurrentVersion\RunOnceEx which
T> I think is correct for my Explorer shell (According to help \Run is
T> for command shell). I really need a better explanation as to what
T> to put in the "value" and "value name" fields. Right now I have
T> app_name.exe (no path) for the "value" and the component's name in
T> the "value name".
T> In KM's answer I wasn't clear on when to use
T> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
T> NT\CurrentVersion\Winlogon]"Userinit".

T> I created a desktop shortcut to the component. My application runs
T> fine when I double click on the shortcut icon.

T> Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top