Results 1 to 3 of 3

Thread: problems with tray

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    didn't decide yet
    Posts
    222
    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

  2. #2
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210

    Unhappy 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.
    < o >

  3. #3
    Lively Member Ceri's Avatar
    Join Date
    Sep 2000
    Posts
    72

    Exclamation 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
  •  



Click Here to Expand Forum to Full Width