473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Start a process as soon as User Logs in

Hi,

Is there any way to start my own process as soon as the user logs into
computer. I want to run my process as hidden and i need to show it before
logging out of the computer.

Please help me. Better if any one can provide a sample.

Thanks in advance,
Venkat
Nov 17 '05 #1
1 1327
Sounds like "regedit.exe" time to me.

Start\run regedit.exe

goto: My
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Win dows\CurrentVersion\Run

After going to that location, Add a string Value from the edit menu.
You should see a lot of other programs, hence you will have lots of
examples, and probably a few spy ware and other *cough* "great" software.

As for waiting for the logout event........ I think you could find that in
the dotnet frameworks, or you *might* have to use a pinvoke.
(goto www.pinvoke.net for those)

On the other hand..... if this is going to be a service..... maybe you should
look up how to design a windows service.

If you want to make the whole run on login stuff easier.... you could just
put it
in the start menu: Start\Programs\Startup\YourProgram
"venkat" wrote:
Hi,

Is there any way to start my own process as soon as the user logs into
computer. I want to run my process as hidden and i need to show it before
logging out of the computer.

Please help me. Better if any one can provide a sample.

Thanks in advance,
Venkat

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: Ken Allen | last post by:
I have a number of services developed in C# (.Net), and they have been working fine for the most part. Recently someone reported that ipon occassion (originally rarely, but more frequently on some...
6
by: Cosmin Spirescu | last post by:
Hi, It should be something very simple, but I do not know what I do wrong. I display some PDF filenames form a folder into a gridview and when the user clicks on the name, it execute this...
17
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.
4
by: Stefan | last post by:
Hello, I am running .NET SQL Session state (V 1.1 blah blah) on a IIS6 server. The problem is that my application spawns a new window via javascript once the user logs in. The user logs in...
3
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI...
0
by: Shalako | last post by:
Today was this second time this happened. It occured at 12:00AM on 7/14 and today 7/18 according to the application event viewer. The event viewer error says: The Apache service named reported...
11
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...
0
by: Vinod Sadanandan | last post by:
Fast-Start Failover An Overview In Dataguard Environment ============================================================================= This article describes the automatic fast start failover...
3
by: DaveL | last post by:
Hi All I have a windows application that needs to run 24/7 in the SysTray How to Start this on Start up When ever the machine is re-started etc I also need to run as a Different User that has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.