Solved

Icon of automatic service using srvany.exe does appear in restart

Posted on 2002-06-19
10
358 Views
Last Modified: 2010-04-13
hi
I use srvany.exe to convert server application to a service.
The server has GUI thus i choose the option 'Allow service to interact with desktop'.
After restarting the machine the icons didn't appears in the tray, and those icons are the only access to the GUIs.

Thanks
udi
0
Comment
Question by:udic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 7

Expert Comment

by:jmiller47
ID: 7093409
Normally, the icons in the system tray ony appear for the person who is running the app. Therefore, if you had it run as a system service logged in as SysServ (for example) and then you logged in as John, it would not show in your System tray. This is because this program was not written to operate as a service.

If you are the only person that runs this GUI app, you COULD possibly run it as a system service logging in under your user name and password. Otherwise, I would try to find the executable that envokes the GUI and create a shortcut for that. If you don't knwo how, post the App name here and possibly one of us can find a way to do it here.

Another possiblity is to create a shortcut to the exacutable that you entered to run the app as a service (let's say its NAV.EXE). You would create a shortcut to NAV.EXE and run that from the shortcut. Even though it's running as a service, when you envoke it a second time, it may bring the app up for the GUI interface. This all depends on how the app was written ehough. We do not even know what app it is right now..
0
 

Author Comment

by:udic
ID: 7094977
hello
I tried to restart the computer with automatic logon (with my user)but the icon didn't appear.
what is this execute that invokes the GUI
Meanwhile i found that when i restart the explorer(the desktop process) the icone disappear. May this be the problem?
thanks,
udi
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7094991
Most icons disappear from the systray upon restating the Explorer process (such as explorer crashing) this is because they are put there once and only once. After explorer comes up, it starts the a new systray with no icons and then adds things like the clock and other persistent items...

We can't tell you what program to start the UI of the program if we don't know that the program is...
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:udic
ID: 7095133
The only way to access the gui is from the icon.So i must find a way to put the icon back into the tray after restarting the explorer.(There is a way?!!!)

Thanks a lot
udi
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7095175
That might not be the only way to access the gui. Actually, there has to be some way...
0
 

Author Comment

by:udic
ID: 7095213
This application was wrote by our compamy and this was the requirement.
Is there any way to do so
1.After restarting the computer?
2.After restarting the explorer?

Thanks,
udi
0
 

Author Comment

by:udic
ID: 7095221
BTW
The MSNmesenger's icon appear after restarting the explorer process.
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7106600
"BTW The MSNmesenger's icon appear after restarting the explorer process. "

This is because it was programmed to refresh itself. That is the main thing here. It really needs to be programmed to run as a service. There are many applications that can be adapted to run as a service using Servany or other utilities.

If I were you, I would talk to your programmers to work with the program a bit to allow the GUI to be called as needed. Also, I think there should be able to be a way to call the GUI.

Without actually seeing your application there is no way to even guess at what that may be though. This is a custom app that we cannot see so it would be next to impossible for us to troubleshoot it without knowing anything about it.

I wish I could be of more help, but that is the best I can do...
0
 

Author Comment

by:udic
ID: 7115866
At last the application was catch window message and add the icon to the tray bar.
Thanks alot
     udi
0
 
LVL 7

Accepted Solution

by:
jmiller47 earned 120 total points
ID: 7127822
What is the status of this question? Are you planning on awarding poionts or closing this question?

Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Robocopy - migrate user shares access denied 6 1,535
VBScript not processed at Windows 8.1 logon 2 8,039
Install Window 2012 Domain on 9 137
Migrating from IIS5 to IIS8.5 3 182
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question