Visual BAsic 6 ActiveX not registerable

When trying to run my code I receive this message

The File'C:\oracle\ora92\network\admin\TNSNAMES.ora' was not registerable as an ActiveX Component.

Anyone have any idea how to fix this?
Is it a case of security on my pc because I do not have admin rights to my PC.

Thanks
Lou
LVL 1
Lou DufresneIT Business Analyst CSM / Project ManagerAsked:
Who is Participating?
 
fostejoCommented:
Ldufresne19,

When you say you're trying to "run my code", are you actually attempting to register this file as you would a DLL or OCX?   If so, it would be expected to fail as 'TnsName.Ora' isn't actually an ActiveX component - it's a text file - so it shouldn't need registering anyway..

Also, yes you do normally need to be a local admin in order to register DLLs/OCXs.

cheers,



0
 
fostejoCommented:
Ldufresne19,

Just for completness... was the issue that you were trying to incorrectly register the TNSNames.oca file?

cheers,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.