rianto isaac's Weblog

rianto utomo isaac sahala utomo

vb, automation error di windows 7

leave a comment »

Did you install the VB6, and run Visual Basic 6 on Windows 7?
Why I am asking you these questions because you might probably encountering the same problem with the mess I’m into two days ago. I normally run VB 6 on Windows XP, but when I upgraded my OS to Windows 7– I encountered this error:

Visual Basic Automation Error
It’s a Data View pop-up saying, Automation Error: “Error Accessing the OLE Registry”.

This usually pops-up when I start Visual Basic 6 in Windows 7. I never encounter this error on Windows XP, so I tried rebooting my PC to Windows XP since I am actually have a multi-boot system. I run VB 6 on XP, and it works fine!

I realized it’s not practical running Windows 7, and switching back to XP just to run VB 6, perfectly. I really like the Windows 7 experience and I don’t want to get compromised just because there’s a compatibility issue with the application I am using.

So, how did I fix this VB 6 error on Windows 7?

Well, my approach was very simple. Knowing that my Visual Basic 6 works fine on my previous OS (Windows XP SP2 and SP3), I just utilized the Compatibility Mode feature of Windows 7. If you have the same problem and don’t know how to fix it, simply go to the Microsoft Visual Basic 6 Properties –either from the Start Menu or from the VB 6 shortcut icon.

Visual Basic 6.0 Properties
On the VB 6 Properties window, select the Compatibility tab. Check the box for “Run this program in compatibility mode for:” and select the earlier version of Windows which you think VB 6 works fine. You can also change this setting for all the users of your PC or just restrict the setting to you as administrator.

Isn’t it cool? It is cool because you will still be running VB 6 on Windows 7 environment…

rianto utomo bole nyontek dari http://www.cite-technologian.com/2009/10/windows-7-automation-error-accessing.html


Written by isaaconi

Juni 10, 2010 pada 3:29 pm

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )


Connecting to %s

%d blogger menyukai ini: