Hello:
How I can make my programs start on Windows Startup using C#?
I want to make that using these values:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Thanks.............
14 31409
Hello:
How I can make my programs start on Windows Startup using C#?
I want to make that using these values:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Thanks.............
HELLO
YOU CAN RUN YOUR APPLICATION ON WINDOWS START
JUST CREATE A WINDOWS SERVICE FOR YOUR APPLICATION REGISTER THAT WINDOWS SERVICE AND SET STARTUP PROPERTY AS AUTOMATIC ,THATS ALL YOUR SERVICE WILL START AUTOMATICALLY WHEN EVER WINDOWS STARTS
GOOD LUCK
HELLO
YOU CAN RUN YOUR APPLICATION ON WINDOWS START
JUST CREATE A WINDOWS SERVICE FOR YOUR APPLICATION REGISTER THAT WINDOWS SERVICE AND SET STARTUP PROPERTY AS AUTOMATIC ,THATS ALL YOUR SERVICE WILL START AUTOMATICALLY WHEN EVER WINDOWS STARTS
GOOD LUCK
Hello, I use Visual Express, and visual express hasn't WINDOWS SERVICE projects.....................
Thanks for your idea...................
HELLO
YOU CAN RUN YOUR APPLICATION ON WINDOWS START
JUST CREATE A WINDOWS SERVICE FOR YOUR APPLICATION REGISTER THAT WINDOWS SERVICE AND SET STARTUP PROPERTY AS AUTOMATIC ,THATS ALL YOUR SERVICE WILL START AUTOMATICALLY WHEN EVER WINDOWS STARTS
GOOD LUCK
Nmsreddi please read the Posting Guidelines. Refrain from typing in all caps in the future!
MODERATOR
Hello, I use Visual Express, and visual express hasn't WINDOWS SERVICE projects.....................
Thanks for your idea...................
Unless you have to, avoid services.
Could you perhaps just put the program into the startup folder for the user?
Hello:
How I can make my programs start on Windows Startup using C#?
I want to make that using these values:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Thanks.............
.NET has a Microsoft.Win32.Registry object you can use to edit the registry settings.
You could also consider the the Startup group in the startmenu
.NET has a Microsoft.Win32.Registry object you can use to edit the registry settings.
You could also consider the the Startup group in the startmenu
Hello, do you can give me the code (Microsoft.Win32.Registry) to make the file runs at startup.
thanks.............
Hello, do you can give me the code (Microsoft.Win32.Registry) to make the file runs at startup.
thanks.............
It isnt a registry key. Its a folder in the start menu. If you place something in that folder, it will be ran on start up. Hence, place your program in there, and it will run.
It isnt a registry key. Its a folder in the start menu. If you place something in that folder, it will be ran on start up. Hence, place your program in there, and it will run.
Hello, I know but I dont want another user knows the file is in that folder.
Thanks.................
Thanks to u all...................
Hello, I know but I dont want another user knows the file is in that folder.
Thanks.................
So you want it hidden from other users if it did reside in there?
Or hidden from all users?
Or a hidden startup process?
This thread belongs in the Windows forum. Hold on, I will move it there!
Using regedit.exe, navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Create a new key here, and set the Value Name to what you want the application to be shown as.
Set the Value Data to be the full path of the file you wish to run.
So you want it hidden from other users if it did reside in there?
Or hidden from all users?
Or a hidden startup process?
I want to hide the file from all users.
-----------------------------------------------------
[IF Possible]:
Do you can hide the file, and the file is hidden when someone enable the "Show Hidden Files" from control panel>Folder option.
----------------------------------------------------------------------
Thanks.
Using regedit.exe, navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Create a new key here, and set the Value Name to what you want the application to be shown as.
Set the Value Data to be the full path of the file you wish to run.
Thanks very much for you Motoma...................
Sign in to post your reply or Sign up for a free account.
Similar topics
by: waisty vb.net rookie |
last post by:
How do i add to the list of programs windows runs on startup without using
"sheduled tasks" in control panel. i.e i want it to appear under "startup" in
the "system configuration utility"
--...
|
by: qushui_chen |
last post by:
How can I make C# programe start with windows? who have these example???
I hear use regedit to use.
|
by: Brian Henry |
last post by:
I created a setup project for my VB.NET app and want to make it start up
with windows logging in, so i told it to place it into the startup group of
the users program group in the start menu (like...
|
by: UJ |
last post by:
Is there any way for a windows service to start a windows program ? I have a
service that will need to restart a windows app if it needs to.
TIA - Jeff.
|
by: Umar |
last post by:
hi
i am working on vb.net application i want to start my application when
the widnow is started.
can any body guide me how i can do that.
any kind of help will be appriciated.
thanx
|
by: mark2 |
last post by:
Hi,
I have unchecked a lot programs in the startup list in my new Vista PC. Problems:
1. There are still two icons (they are not for the programs with check in the startup list) left in the right...
|
by: Smokey Grindel |
last post by:
Ok this is wierd I am seeing this issue with C# and VB.NET apps made in
..NET...
I have the framework installed (.NET 3.5 currently)... i installed my
applications... I placed them in the...
|
by: Arun21084 |
last post by:
Hi,
Recently I installed an application HP SIP(Service Information Portal) on a Windows 2000 server.The application comes along with an installation of Tomcat 5.0.19.
Already there was an Apache...
|
by: andreas |
last post by:
How can I choose some fonts in programs so that they are always avalable for
the program at other computers, can I put them in some resources?
Thanks for any response
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |