Visual BAsic 6 ActiveX not registerable

Posted on 2006-06-07
Last Modified: 2013-11-25
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.

Question by:Lou Dufresne
    LVL 10

    Accepted Solution


    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.


    LVL 10

    Expert Comment


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


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now