Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 957189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:39:42+00:00 2026-05-16T00:39:42+00:00

I am in the middle of (trying) to create a Class Library available for

  • 0

I am in the middle of (trying) to create a Class Library available for use in VB6/VBA. With some assistance received here I have now done the following:

  1. Created a Class Library Project in Visual Studio 2010 Express and put the code in a Class Module.
  2. Learned I needed this wonderful thing called an “Interface”… Made one of those:)
  3. I opened the project properties and went to “Assembly Information” and checked “Make COM Visible”.
  4. I went to “Advanced Compile” options and targeted .Net 2.0 (it’s very simple code).
  5. Removed all references expect for “System”.
  6. Built the project (no warnings or errors) and copied the DLL out of the Bin folder into C:\Windows\System32\
  7. Ran RegAsm /tlb. Everything seemes just fine.

I popped open excel to run a quickie test and the TLB is available but I have two problems:

  • I can see both the class and the interface in the Object Browser/Intellisense.
  • When I try to create an instance of either object (Set obj = New MyObj)I get the error:

Automation error
The system cannot find the file specified.

I can set a reference to the Object and the Intellisense can see it, I just get that error when I actually try to create the Object. Did I miss a step?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:39:43+00:00Added an answer on May 16, 2026 at 12:39 am

    7: Skip /tlb option of regasm it’s a non-issue (not needed). Add /codebase

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create some div (that should be buttons) that have rounded
I am trying to middle align an element, But I have bumped into this
I am in the middle of a software development class and am trying to
I'm trying to have this block element to be horizontally aligned in the middle
I'm trying to create a dynamic icon using css sprites. here's what I keep
I am new to CSS and have been trying to create a web form
Trying to use the http://www.dinnermint.org/css/creating-triangles-in-css/ method to create an arrow _________________ \ \ \
I have been trying to create a website with a fixed header but which
Im trying to create an svg in illustrator and use it as a background
I am trying to create a PDF using droidText library. There I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.