[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2461
  • Last Modified:

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
0
Lou Dufresne
Asked:
Lou Dufresne
  • 2
1 Solution
 
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

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now