|
-
Mar 14th, 2001, 02:08 PM
#1
Thread Starter
Addicted Member
k i wrote an app that has a tray icon also the same app is running as an NT service .The problem is that when I try to run the app as a service I mean after I reboot the tray icon does not apper. I though that is because i create the tray icon in the load even of my exe and execute that event b4 the taskbar is created so i put a timer and I checked if explorer exe is running then create the icon but that didn't worked either .
Any ideas wich process is related with the taskbar or how can i find if the taskbar=explorer is running so I can create the tray icon after
-
Mar 14th, 2001, 02:28 PM
#2
Addicted Member
um
i'm not too familiar with Win NT, so this might now work but.. Are you sure your app is loading when the system loads? Whenever i make my app load when the copmuter is booted, is using the win.ini file
Code:
run=C:\windows\app.exe
that's my 2 cents.
-
Mar 15th, 2001, 07:37 AM
#3
Lively Member
Service
When you say an NT Service, do you mean that you used the RegisterServiceProcess API call. If that is the case, all this does his register you program as a service, i.e. something that runs in the background and that you cant see on the Task Manager menu (inivisible when you press Ctrl-Alt-Del). If you want the program to also start when windows starts, u must put the application in the Start up Services, or you can do it manually by editing the Registry and finding the RunServices Key
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|