How to start an application once after first login?

  • Thread starter Thread starter Günter Wirth
  • Start date Start date
G

Günter Wirth

Hi,

I search for a possibility to start an own application once after logging in
the first time.

How can I do that?

Regards,
Günter
 
I search for a possibility to start an own application once after logging
in
the first time.

How can I do that?


If you are using the Explorer shell, and if you want to do it from a custom
component, add a RunOnceEx resource to the custom component.

If you are using the Explorer shell, and you want to do it outside of a
custom component, add a registry value to the key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.



If you are not using the Explorer shell then I don't know the answer.
 
Hi,

When does the build up process start my application if I add it to RunOnceEx
or RunOnce?

What is RunOnceEx, I never heard it before?

Regards,
Günter
 
I stay away from RunOnce because RunOnce programs will actually be run more
than once, during FBA. I'm not sure exactly the rules about when RunOnce
programs are run. It was very frustrating for me to learn that RunOnce did
not follow the same rules as the RunOnce key in the Registry.

If I want to run something just one time during FBA I always use an FBA
generic command.

RunOnceEx will insert a key into the RunOnce registry key to run a program.
That program is not run during FBA, rather, it is run when Explorer is
started.

RunOnce, RunOnceEx, and FBA generic commands are 3 features that are
described in the online XPe documentation so you might be able to get more
information there.
 

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

Back
Top