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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

right-click task bar and X to close crashes vb program

Status
Not open for further replies.

rich914

Programmer
Jul 9, 2003
14
US
When a user minimizes my program to the windows task bar and does a right click and selects "X - Close" the program closes of course, But when they go to execute the program again, it will not run.

Was told by a friend that this is a known problem with VB 5/6. You have to uninstall the program, then use regedit to remove ALL left over keys that dealt with the program. Then reinstall.

I know there has to be a way to prevent this, most likely an API call. Does anyone know of this? Which API call? How and where would I put it in the program? Not really up to speed on api calls.

Note the main form is a MIDI and the start up is a basic module.

Thanks

Rich914
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top