|
-
August 10th, 2010, 10:07 AM
#7
Re: [HELP VB6] Running and Hiding Programs and much more
This application is a Game Server... an Emulator... So users do not need to access the the server.... only they connect to the server.... The Server machine needs to run this 7 servers so that the players/users can connect using their game client....
This 7 servers when will show in the task bar... and it is very space consuming in the task bar... That is why i want to make a program that will hide this pesky little servers that is showing in the task bar and only show it when needed to....
Anyway... I have manage to run and hide this 7 servers using the ShellExecute API.... the only problem for me is how to close it using VB.... I search the net and found about SendMessage API that sends message to the application..... but its lack in details on how to use it..... I didn't quite get how to use the code.....
My other problem is how to make my program know that the application that I run is finish loading so it can proceed to running the next application/server...
I also want to make my program to monitor if the application/server that I run is still running... If ever it is stopped unexpectedly - example if error occured - my program will automatically restart it.... so the admin do not need to always keep an eye on the process....
My program is named Server Starter....
It runs 7 Server Applications (3rd Party Program) namely:
Account
Database
Core
Certifier
Login
Cache
World
Then Hide these 7 Servers.... <---- ShellExecute
Monitor these 7 Servers... if error occured, Restart it...
If my program is closed, these Servers will also close....
Able to restart the 7 servers anytime....
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
|