Want to make my exe as service
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
Do you want to run your app or you want to make service
_**
**_
WhiteSky
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
kiran.pinjarla wrote:
I have developed an application and i want its exe should be executed as soon as my system starts, like a service.
If you want to start your application as soon as your system starts up... Then make an entry for your application path in the following registry key...
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
. Or else you will have to rewrite your exe to act as a service too.
Nibu thomas A Developer Programming tips[^] My site[^]
-
Do you want to run your app or you want to make service
_**
**_
WhiteSky
I want my exe to be executed as soon as system strats. Which way i can do it better? Thank you.
KIRAN PINJARLA
-
kiran.pinjarla wrote:
I have developed an application and i want its exe should be executed as soon as my system starts, like a service.
If you want to start your application as soon as your system starts up... Then make an entry for your application path in the following registry key...
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
. Or else you will have to rewrite your exe to act as a service too.
Nibu thomas A Developer Programming tips[^] My site[^]
Thank you so much for ur information.
Nibu babu thomas wrote:
Or else you will have to rewrite your exe to act as a service too.
How can we do this?
KIRAN PINJARLA
-
kiran.pinjarla wrote:
I have developed an application and i want its exe should be executed as soon as my system starts, like a service.
If you want to start your application as soon as your system starts up... Then make an entry for your application path in the following registry key...
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
. Or else you will have to rewrite your exe to act as a service too.
Nibu thomas A Developer Programming tips[^] My site[^]
Thank you.
Nibu babu thomas wrote:
Then make an entry for your application path in the following registry key... HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run.
How to do this programatically?
KIRAN PINJARLA
-
Thank you so much for ur information.
Nibu babu thomas wrote:
Or else you will have to rewrite your exe to act as a service too.
How can we do this?
KIRAN PINJARLA
kiran.pinjarla wrote:
How can we do this?
You should be watchful. Coz there are plenty of restrictions on services, so many of the windows related tasks won't work as smoothly as you would expect. Any way here[^] is a nice little article by Nishant Sivakumar which will get you started on windows services.
Nibu thomas A Developer Programming tips[^] My site[^]
-
I have developed an application and i want its exe should be executed as soon as my system starts, like a service. Please help me. Thank you.
KIRAN PINJARLA
kiran.pinjarla wrote:
I have developed an application and i want its exe should be executed as soon as my system starts, like a service.
Take a look at this article. Start Your Windows Programs From An NT Service[^]
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
-
Thank you.
Nibu babu thomas wrote:
Then make an entry for your application path in the following registry key... HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run.
How to do this programatically?
KIRAN PINJARLA
kiran.pinjarla wrote:
How to do this programatically?
Take a look at
CRegKey
. It's quite simple. Try by yourself.
Nibu thomas A Developer Programming tips[^] My site[^]
-
I want my exe to be executed as soon as system strats. Which way i can do it better? Thank you.
KIRAN PINJARLA
If you to run your app you can use from Registry and for how to use i think i saw two classes on codeproject that are working with Registry you can see them,anyway you can wrok with registry functions its not hard:-D
_**
**_
WhiteSky
-
kiran.pinjarla wrote:
How to do this programatically?
Take a look at
CRegKey
. It's quite simple. Try by yourself.
Nibu thomas A Developer Programming tips[^] My site[^]
Nibu babu thomas wrote:
Take a look at CRegKey
Thank you so much.
Nibu babu thomas wrote:
Try by yourself.
Sure.
KIRAN PINJARLA
-
Thank you.
Nibu babu thomas wrote:
Then make an entry for your application path in the following registry key... HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run.
How to do this programatically?
KIRAN PINJARLA
kiran.pinjarla wrote:
How to do this programatically?
RegOpenKey()
,RegSetValueEx()
,RegCloseKey()
, ...
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb