Visual Studio 6.0

L

Lorne Merner

I have tried to install Visual Studio 6.0 but can not load any of my
projects. The version of VS is the enterprise. When I start VB it comes up
with the error cannot register OLE object.

Is there something special I have to do to install VB 6, I have a great deal
of systems to support and I need to be able to debug in Vista.

Thanks
Lorne
 
M

Mr. Arnold

Lorne Merner said:
I have tried to install Visual Studio 6.0 but can not load any of my
projects. The version of VS is the enterprise. When I start VB it comes
up with the error cannot register OLE object.

So, you made it through the install of VS 6 with no problems, and you
right-clicked the setup or install.exe and told it to Run as Administrator?

The error message , as you most likely know, (cannot register OLE object) is
saying that VS or VB cannot register an OLE object at start-up, which I
didn't know that was happening at start-up for VB 6, when I was using it.

On a non Vista machine you do development with Admin rights, which is not a
problem for a NT based O/S that's not Vista. It's another story on Vista, as
the application being ran may not have all the rights it needs, even if
you're logged in as Admin.

It may be that when you start VB 6 within VS 6, you didn't start VS 6 with
Run as Administrator, which you can right-click the short-cut for VS 6 or
send the short-cut from All Programs to the desk-top go to Properties, the
Advanced button and check on Always run with Administrator rights.

It's been so long that I have worked with VS 6 solutions, but as I recall,
you can make a short-cut just to start VB 6 without going through VS 6 and
still get to the IDE, don't hold me to that.

Anyway, on Vista and doing VS .Net 2005 development, it was made clear
that I had to set the short-cut to Run as Administrator for VS .Net to work,
even though I am Admin.

http://vistasupport.mvps.org/run_as_administrator.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top