April 26, 2005 at 8:54 am
Hi,
I'd like to run sqlmangr.exe and have it show in the Task Manager but not have the SQL Server Service Manager window pop-up. Right now I'm calling it like this:
objShell.Run "cmd /c ""C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqlmangr.exe"" \n", 15, False
This works the first time I run the script but if I exit sqlmangr and then run it again it usually pops up the window, although not always. Is there any other parameters or any other way I can ensure the window does not pop-up??
Thanks!
April 29, 2005 at 8:00 am
This was removed by the editor as SPAM
April 29, 2005 at 8:10 am
Just curious why you want to run it like this way?
April 29, 2005 at 8:17 am
I'm using it this way because it is a service which needs to be started before the launch of an application. So I'm creating a launch script to start the service and then start the application, but I don't want the window popping up when users go to start their program.
April 29, 2005 at 8:34 am
There are other commands you can use to start the service.
NET Start - It comes from your Windows
SC.exe - Get it from Windows Resources Kit
NetSvc.exe- - Get it from Windows Resources Kit
and many from third party vendors.
April 29, 2005 at 8:52 am
Sorry, I shouldn't have called it a service. It doesn't actually show up in the Service list. It runs in the System Tray so that you can manage other SQL services. There isn't a Service Name for it so it isn't possible to use Net Start or the others you mentioned.
April 29, 2005 at 9:35 am
SQL Server runs as service in machine. With the commands I provided, You can start SQL Server in any remote machines. Does it help you?
April 29, 2005 at 9:44 am
Yah I've already started the SQL Server service using "net start" before calling the sqlmangr.exe. I need the sqlmangr to run in the System Tray tho without popping up the window.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply