PC Review


Reply
Thread Tools Rate Thread

Run an application in a startup

 
 
Jose Reinaldo
Guest
Posts: n/a
 
      9th Dec 2003
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
 
 
 
 
Heidi Linda eMVP
Guest
Posts: n/a
 
      9th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
 
Jose Reinaldo
Guest
Posts: n/a
 
      9th Dec 2003
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" <(E-Mail Removed)> escreveu na mensagem
news:%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
 
Heidi Linda eMVP
Guest
Posts: n/a
 
      9th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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" <(E-Mail Removed)> escreveu na mensagem
> news:%(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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
 
Jose Reinaldo
Guest
Posts: n/a
 
      9th Dec 2003
Would you have any link that explain how I can make this thing? Thank you.

"Heidi Linda eMVP" <(E-Mail Removed)> escreveu na mensagem
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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" <(E-Mail Removed)> escreveu na mensagem
> > news:%(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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
 
Heidi Linda eMVP
Guest
Posts: n/a
 
      9th Dec 2003
As in you need instructions on how to create a component?

"Jose Reinaldo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Would you have any link that explain how I can make this thing? Thank you.
>
> "Heidi Linda eMVP" <(E-Mail Removed)> escreveu na mensagem
> news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> escreveu na mensagem
> > > news:%(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > 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
 
Jose Reinaldo
Guest
Posts: n/a
 
      9th Dec 2003
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" <(E-Mail Removed)> escreveu na mensagem
news:(E-Mail Removed)...
> As in you need instructions on how to create a component?
>
> "Jose Reinaldo" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Would you have any link that explain how I can make this thing? Thank

you.
> >
> > "Heidi Linda eMVP" <(E-Mail Removed)> escreveu na mensagem
> > news:(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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" <(E-Mail Removed)> escreveu na mensagem
> > > > news:%(E-Mail Removed)...
> > > > > 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" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > > 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
 
JB
Guest
Posts: n/a
 
      10th Dec 2003
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" <(E-Mail Removed)> escreveu na mensagem
>news:(E-Mail Removed)...
>> As in you need instructions on how to create a

component?
>>
>> "Jose Reinaldo" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Would you have any link that explain how I can make

this thing? Thank
>you.
>> >
>> > "Heidi Linda eMVP" <(E-Mail Removed)> escreveu na

mensagem
>> > news:(E-Mail Removed)...
>> > > 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" <(E-Mail Removed)> wrote in

message
>> > > news:%(E-Mail Removed)...
>> > > > 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" <(E-Mail Removed)> escreveu na

mensagem
>> > > > news:%(E-Mail Removed)...
>> > > > > 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" <(E-Mail Removed)> wrote

in message
>> > > > > news:(E-Mail Removed)...
>> > > > > > 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
 
Jose Reinaldo
Guest
Posts: n/a
 
      10th Dec 2003
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" <(E-Mail Removed)> escreveu na mensagem
news:071801c3bef4$b4693fc0$(E-Mail Removed)...
> 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" <(E-Mail Removed)> escreveu na mensagem
> >news:(E-Mail Removed)...
> >> As in you need instructions on how to create a

> component?
> >>
> >> "Jose Reinaldo" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Would you have any link that explain how I can make

> this thing? Thank
> >you.
> >> >
> >> > "Heidi Linda eMVP" <(E-Mail Removed)> escreveu na

> mensagem
> >> > news:(E-Mail Removed)...
> >> > > 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" <(E-Mail Removed)> wrote in

> message
> >> > > news:%(E-Mail Removed)...
> >> > > > 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" <(E-Mail Removed)> escreveu na

> mensagem
> >> > > > news:%(E-Mail Removed)...
> >> > > > > 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" <(E-Mail Removed)> wrote

> in message
> >> > > > > news:(E-Mail Removed)...
> >> > > > > > 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
 
JB
Guest
Posts: n/a
 
      10th Dec 2003
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make vb.net application startup application Umar Microsoft VB .NET 3 4th Sep 2006 07:08 AM
Fail in operating my hardware in web application , makes other windows application startup failure. Ryan.ZhYin Microsoft C# .NET 0 25th Jan 2005 09:34 AM
Re: Application Startup Rick Strahl [MVP] Microsoft ASP .NET 2 16th Nov 2004 09:44 PM
Re: Application Startup Jeff Dillon Microsoft ASP .NET 0 16th Nov 2004 04:06 AM
Application startup Nesaar Windows XP Customization 1 24th Nov 2003 01:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:53 AM.