devxlogo

VB Hijacks the Registry

VB Hijacks the Registry

Be aware that the VB IDE hijacks the registry settings for your public classes when working on projects such as ActiveX DLLs and Controls. The IDE will temporarily replace (in the registry) the existing InProcServer32 for your class to a LocalServer32 entry pointing to the VB IDE version being run. Should VB crash in a nasty fashion, that registry entry will not be returned to its proper state. Then when you try to run your program “normally,” you will get various messages about the item not being able to run in multi-instance mode or other cryptic errors. You must simply restart the project inside the VB IDE and stop it again, putting things back the way they should be.

See also  Is Machine Learning Automating Creativity in Graphic Design?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist