PC Review Forums Newsgroups Windows XP Windows XP Embedded Run an application in a startup

Reply

Run an application in a startup

 
Thread Tools Rate Thread
Old 09-12-2003, 02:17 PM   #1
Jose Reinaldo
Guest
 
Posts: n/a
Default Run an application in a startup


How can I make an application run automatically when my embedded system
starts? As the HelloWorld for example.

Thanks
J Reinaldo
Sao Paulo - Brazil


  Reply With Quote
Old 09-12-2003, 02:18 PM   #2
Heidi Linda eMVP
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Run Key. My application runs a batch file then locks itself on startup:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Startup"="c:\\startup\\startup.bat"
"lock"="rundll32 user32.dll,LockWorkStation"

"Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> How can I make an application run automatically when my embedded system
> starts? As the HelloWorld for example.
>
> Thanks
> J Reinaldo
> Sao Paulo - Brazil
>
>



  Reply With Quote
Old 09-12-2003, 05:40 PM   #3
Jose Reinaldo
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Do you know if exist only this way to run an application automatically? I
though that there was one way inside the TD or with another tool.

"Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> Run Key. My application runs a batch file then locks itself on startup:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> "Startup"="c:\\startup\\startup.bat"
> "lock"="rundll32 user32.dll,LockWorkStation"
>
> "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> > How can I make an application run automatically when my embedded system
> > starts? As the HelloWorld for example.
> >
> > Thanks
> > J Reinaldo
> > Sao Paulo - Brazil
> >
> >

>
>



  Reply With Quote
Old 09-12-2003, 05:45 PM   #4
Heidi Linda eMVP
Guest
 
Posts: n/a
Default Re: Run an application in a startup

You can add that reg key to a component...you can import reg files into
component designer, though beware of anthing with spaces in as it tends to
strip them.

"Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
> Do you know if exist only this way to run an application automatically? I
> though that there was one way inside the TD or with another tool.
>
> "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> > Run Key. My application runs a batch file then locks itself on startup:
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> > "Startup"="c:\\startup\\startup.bat"
> > "lock"="rundll32 user32.dll,LockWorkStation"
> >
> > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> > > How can I make an application run automatically when my embedded

system
> > > starts? As the HelloWorld for example.
> > >
> > > Thanks
> > > J Reinaldo
> > > Sao Paulo - Brazil
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 09-12-2003, 06:21 PM   #5
Jose Reinaldo
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Would you have any link that explain how I can make this thing? Thank you.

"Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
news:u6H7YTnvDHA.1340@TK2MSFTNGP09.phx.gbl...
> You can add that reg key to a component...you can import reg files into
> component designer, though beware of anthing with spaces in as it tends to
> strip them.
>
> "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
> > Do you know if exist only this way to run an application automatically?

I
> > though that there was one way inside the TD or with another tool.
> >
> > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> > news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> > > Run Key. My application runs a batch file then locks itself on

startup:
> > >
> > > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> > > "Startup"="c:\\startup\\startup.bat"
> > > "lock"="rundll32 user32.dll,LockWorkStation"
> > >
> > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> > > > How can I make an application run automatically when my embedded

> system
> > > > starts? As the HelloWorld for example.
> > > >
> > > > Thanks
> > > > J Reinaldo
> > > > Sao Paulo - Brazil
> > > >
> > > >
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 09-12-2003, 06:38 PM   #6
Heidi Linda eMVP
Guest
 
Posts: n/a
Default Re: Run an application in a startup

As in you need instructions on how to create a component?

"Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
news:e3DFwjnvDHA.2712@TK2MSFTNGP11.phx.gbl...
> Would you have any link that explain how I can make this thing? Thank you.
>
> "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> news:u6H7YTnvDHA.1340@TK2MSFTNGP09.phx.gbl...
> > You can add that reg key to a component...you can import reg files into
> > component designer, though beware of anthing with spaces in as it tends

to
> > strip them.
> >
> > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
> > > Do you know if exist only this way to run an application

automatically?
> I
> > > though that there was one way inside the TD or with another tool.
> > >
> > > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> > > news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> > > > Run Key. My application runs a batch file then locks itself on

> startup:
> > > >
> > > > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> > > > "Startup"="c:\\startup\\startup.bat"
> > > > "lock"="rundll32 user32.dll,LockWorkStation"
> > > >
> > > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > > > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> > > > > How can I make an application run automatically when my embedded

> > system
> > > > > starts? As the HelloWorld for example.
> > > > >
> > > > > Thanks
> > > > > J Reinaldo
> > > > > Sao Paulo - Brazil
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 09-12-2003, 06:54 PM   #7
Jose Reinaldo
Guest
 
Posts: n/a
Default Re: Run an application in a startup

I need instructions how to create a component that initialize on boot
without shells or other that is not essencial. I apologize you for my poor
english.

"Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
news:eTFBiwnvDHA.3224@tk2msftngp13.phx.gbl...
> As in you need instructions on how to create a component?
>
> "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> news:e3DFwjnvDHA.2712@TK2MSFTNGP11.phx.gbl...
> > Would you have any link that explain how I can make this thing? Thank

you.
> >
> > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> > news:u6H7YTnvDHA.1340@TK2MSFTNGP09.phx.gbl...
> > > You can add that reg key to a component...you can import reg files

into
> > > component designer, though beware of anthing with spaces in as it

tends
> to
> > > strip them.
> > >
> > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > > news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
> > > > Do you know if exist only this way to run an application

> automatically?
> > I
> > > > though that there was one way inside the TD or with another tool.
> > > >
> > > > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> > > > news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> > > > > Run Key. My application runs a batch file then locks itself on

> > startup:
> > > > >
> > > > > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> > > > > "Startup"="c:\\startup\\startup.bat"
> > > > > "lock"="rundll32 user32.dll,LockWorkStation"
> > > > >
> > > > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> > > > > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> > > > > > How can I make an application run automatically when my embedded
> > > system
> > > > > > starts? As the HelloWorld for example.
> > > > > >
> > > > > > Thanks
> > > > > > J Reinaldo
> > > > > > Sao Paulo - Brazil
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 10-12-2003, 09:07 AM   #8
JB
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Hey

You open your component designer. Create a new component.
Add as registry data:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
on\Run]
"Yourapp"="c:\yourapp\yourapp.exe"
So the name = Yourapp
Type=reg_sz
Data =c:\yourapp\yourapp.exe
Remove the "

Save your component and add it to your database.

goodluck
>-----Original Message-----
>I need instructions how to create a component that

initialize on boot
>without shells or other that is not essencial. I

apologize you for my poor
>english.
>
>"Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
>news:eTFBiwnvDHA.3224@tk2msftngp13.phx.gbl...
>> As in you need instructions on how to create a

component?
>>
>> "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
>> news:e3DFwjnvDHA.2712@TK2MSFTNGP11.phx.gbl...
>> > Would you have any link that explain how I can make

this thing? Thank
>you.
>> >
>> > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na

mensagem
>> > news:u6H7YTnvDHA.1340@TK2MSFTNGP09.phx.gbl...
>> > > You can add that reg key to a component...you can

import reg files
>into
>> > > component designer, though beware of anthing with

spaces in as it
>tends
>> to
>> > > strip them.
>> > >
>> > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in

message
>> > > news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
>> > > > Do you know if exist only this way to run an

application
>> automatically?
>> > I
>> > > > though that there was one way inside the TD or

with another tool.
>> > > >
>> > > > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na

mensagem
>> > > > news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
>> > > > > Run Key. My application runs a batch file then

locks itself on
>> > startup:
>> > > > >
>> > > > >

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
on\Run]
>> > > > > "Startup"="c:\\startup\\startup.bat"
>> > > > > "lock"="rundll32 user32.dll,LockWorkStation"
>> > > > >
>> > > > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote

in message
>> > > > > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
>> > > > > > How can I make an application run

automatically when my embedded
>> > > system
>> > > > > > starts? As the HelloWorld for example.
>> > > > > >
>> > > > > > Thanks
>> > > > > > J Reinaldo
>> > > > > > Sao Paulo - Brazil
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >

>>
>>

>
>
>.
>

  Reply With Quote
Old 10-12-2003, 02:44 PM   #9
Jose Reinaldo
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Ok, this is a good hint! Thanks!
But where do I put "myapp=c:\myapp\myapp.exe"?
Where do I put the line "Data=c:\myapp\myapp.exe" ?
How can I put the DLL file that my application needs?

"JB" <Jaap@removethis.micropower.nl> escreveu na mensagem
news:071801c3bef4$b4693fc0$a501280a@phx.gbl...
> Hey
>
> You open your component designer. Create a new component.
> Add as registry data:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
> on\Run]
> "Yourapp"="c:\yourapp\yourapp.exe"
> So the name = Yourapp
> Type=reg_sz
> Data =c:\yourapp\yourapp.exe
> Remove the "
>
> Save your component and add it to your database.
>
> goodluck
> >-----Original Message-----
> >I need instructions how to create a component that

> initialize on boot
> >without shells or other that is not essencial. I

> apologize you for my poor
> >english.
> >
> >"Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na mensagem
> >news:eTFBiwnvDHA.3224@tk2msftngp13.phx.gbl...
> >> As in you need instructions on how to create a

> component?
> >>
> >> "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in message
> >> news:e3DFwjnvDHA.2712@TK2MSFTNGP11.phx.gbl...
> >> > Would you have any link that explain how I can make

> this thing? Thank
> >you.
> >> >
> >> > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na

> mensagem
> >> > news:u6H7YTnvDHA.1340@TK2MSFTNGP09.phx.gbl...
> >> > > You can add that reg key to a component...you can

> import reg files
> >into
> >> > > component designer, though beware of anthing with

> spaces in as it
> >tends
> >> to
> >> > > strip them.
> >> > >
> >> > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote in

> message
> >> > > news:%23WUpxMnvDHA.620@TK2MSFTNGP10.phx.gbl...
> >> > > > Do you know if exist only this way to run an

> application
> >> automatically?
> >> > I
> >> > > > though that there was one way inside the TD or

> with another tool.
> >> > > >
> >> > > > "Heidi Linda eMVP" <hll@btspam.co.uk> escreveu na

> mensagem
> >> > > > news:%23KicfflvDHA.2508@TK2MSFTNGP12.phx.gbl...
> >> > > > > Run Key. My application runs a batch file then

> locks itself on
> >> > startup:
> >> > > > >
> >> > > > >

> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
> on\Run]
> >> > > > > "Startup"="c:\\startup\\startup.bat"
> >> > > > > "lock"="rundll32 user32.dll,LockWorkStation"
> >> > > > >
> >> > > > > "Jose Reinaldo" <jrsilvasp@hotmail.com> wrote

> in message
> >> > > > > news:O5gaHblvDHA.556@TK2MSFTNGP11.phx.gbl...
> >> > > > > > How can I make an application run

> automatically when my embedded
> >> > > system
> >> > > > > > starts? As the HelloWorld for example.
> >> > > > > >
> >> > > > > > Thanks
> >> > > > > > J Reinaldo
> >> > > > > > Sao Paulo - Brazil
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>

> >
> >
> >.
> >



  Reply With Quote
Old 10-12-2003, 03:32 PM   #10
JB
Guest
 
Posts: n/a
Default Re: Run an application in a startup

Hey jose

For your first question. Open the target designer. Put a
registry key with the: Extra Registry Data. Use the add
function to add one key. Browse the the key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi
on\Run]
In the box value name put the name of your app, example
myapp
Change the type to reg_sz.
Put in the value box the path of your app in your build,
like c:\myapp.exe.

The dll and the rest of your application is already in
your build. This key is meant to start an application that
is installed.


>-----Original Message-----
>Ok, this is a good hint! Thanks!
>But where do I put "myapp=c:\myapp\myapp.exe"?
>Where do I put the line "Data=c:\myapp\myapp.exe" ?


I meant with this line that the registry value must be
c:\myapp\myapp.exe

good luck
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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