Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start button

Status
Not open for further replies.

drfb

Programmer
Jul 5, 2002
23
Good morning,
There is someone who know how is possible to disable the start button (Windows 98) when my program are running?
Thank you verrrrrrrrrrrrrrrrrrrrrrrrrrry much!
Franz
 
There is a registry change that your program can do but I don't have it in front of me. Very dangerous!
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that they think I am now
qualified to do anything with nothing.
 
What is the sense to disable this Button? To prevent a start of a 2nd instance of the Program?
hnd
hasso55@yahoo.com

 
Yes, I would prevent the start of other programs.
Thank you very much.
 
Thats a bad way to go about doing things. how are you going to disable the desktop so they can't click on shortcuts? if you do it like this you could have some very serious problems resulting. why dont you try looking up how to do windows hooks and every time a program starts automatically hook it and terminate it. I think maybe doing something like that would be a better idea. or better yet, you could try going to $(BCB)\Examples\Apps\Procview. This little program will show a list of open processes. you could automatically update this list and terminate applications like that, but make sure your terminating applications not just all of the processes because if you close the wrong process or DLL, whatever, then you could crash the system. maybe check the window captions and if one's there kill it, but be sure to exclude your window captions because you can terminate your own program like this.

If you have any questions about my little article here, I'd be more than happy to try to answer.
Hope it works... Cyprus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top