When the Shell Crashes

Under NT, shell crashes are not really a problem. You can access the Run command from the Task Manager and start up another instance of Explorer.exe.

Under Windows 98, there is no Run command that is available from the Task Manager. When developing for the shell, you can save yourself countless headaches by keeping a simple program running at all times during your development. This program can have a form with one command button that executes the following line of code:

Shell "Explorer.exe"

Get VB Shell Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.