Prb: "Visual Basic Can't Provide Multiple Instances Of Single Use Objects" - Message Reported Even When Visual Basic Is Not Running

Last Reviewed : 10/05/99
Article ID     akb000007

The information in this article applies to :

Symptoms

Details

This can be very persistent, it can recur even after rebooting, cleaning, and registered. You can try one of the following to correct it.

Solution 1 - Recompile The Offending Project

Often recompiling the project that is giving the error can stop the problem from recurring. If you are unsure which project is giving the error, try running in debug mode until the error occurs, then recompile the related project, or try one of the other solutions.

Solution 2 - Run The Offending Project In Design Mode

If you cannot recompile the project (someone else has it checked out of source code control, or for any other reason) try running the project in design mode. This often temporarily fixes the problem, and sometimes permanently.

Solution 3 - Delete ALL Temporary (.tmp) Files

Use the windows find function to find all files named .tmp on all your local drives in all directories. In particular, c:\temp, c:\winnt\ and c:\winnt\temp if these directories exist. Delete all .tmp files except those that are in use (you won't be able to anyway.) WARNING: You should not have anything other than Windows NT and your normal services running (i.e no office applications, Visual Basic, Front Page or any other Windows software).

Status

At present Auckland Software Ltd is unsure of a method for solving this problem that works consistently. The problem is left open.