Link to home
Start Free TrialLog in
Avatar of jana
janaFlag for United States of America

asked on

Help 'Automation error' error in VB6 environment

Hi Experts!


I have an old VB6 codes and needed to work with one of them.  The project menu didn't have 'Add Data Environment' but fixed it with CTRL-T and check mark Data Environment.  Now it appears,  But when selecting 'Add Data Environment' if gives error "Automation error":

:
User generated image
 

I proceeded to register MSDE.DLL, DEEXT.TLB and MSDERUN.DLL..  Both DLL registered, but DEEXT.TLB; how do one register TLB?


Note, though this VB6 is old, the system here is under this environment and working to convine to upgrade.  


The need to fix the error is because a report is needed to be created and link to the system and this error doesn't permit to continue.


help please


Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Please zip up your project and attach it.
Avatar of jana

ASKER

No, this error is not when running an VB6 app.  This error is when I select 'Add Data Environment'  in when a new VB6 project.  That is when open VB6 then click Project >> Add Data Environment then the 'Automation error' appear (see below)


User generated image
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jana

ASKER

Thanx will try
Avatar of jana

ASKER

gave this message with regsvr32.exe "c:\program files (x86)\Common Files\Designer\DEEXT.TLB" regsvr32.exe "c:\program files (x86)\Common Files\Designer\DEEXT.TLB"


User generated image
just ignore it there's a lot of things that are not designed.. remember this program went end of live 12 years go
Avatar of jana

ASKER

Ok, same error when clicking 'Add Data Environment' .  I even tested various compatibility mode, same results
User generated image
just run as administrator

see the last 5 minutes of the video i pointed to
Avatar of jana

ASKER

Oh haven't seen the vid (u have helped me so much that I took it as ok) ... let me check
Avatar of jana

ASKER

Hahaha! u know, strangely enough, I saw this video prior placing the question and yes I saw "it's normal" the message and so I trust EE so much, I placed the question.

Ok I am cleared! Thanx!