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 6682041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:39:35+00:00 2026-05-26T04:39:35+00:00

I have a VB6 Active DLL that I’m trying to call from C#. I’ve

  • 0

I have a VB6 Active DLL that I’m trying to call from C#.

I’ve converted it using tblimp and imported it into VS 2010.

I then instantiate it using:

AppWebActiveX.Users appWebActiveX = new appWebActiveX.Users();

There’s a Users interface and a UsersClass class when I look in the object browser.

Then I call:

bool isExistingUser = appWebActiveX.IsExistingUser("cat");

bool IsExisting(string) is a valid method, according to the object browser.

However, this returns:

Unable to cast COM object of type ‘AppWebActiveX.UsersClass’ to interface type ‘AppWebActiveX._Users’. … No such interface supported …

The latest stack call is to System.StubHelpers.StubHelpers.GetCOMIPFromRCW.

I’m running the app on Windows Server 2003 Standard Edition (x86 – 32bit) and it’s a 32-bit DLL. I’m making the call from a C# console app.

Any advice?

  • 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-26T04:39:36+00:00Added an answer on May 26, 2026 at 4:39 am

    Turns out that I’d omitted the [STAThread] attribute from the main method.

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

Sidebar

Related Questions

I have a VB6 dll that is trying to create a COM object using
I have created an ActiveX dll using VB6 and packaged it using the Package
I have a VB6 COM component which I need to call from my .Net
I have a VB6 COM dll that I've wrapped in COM+ (component services). For
I have a VB6 ActiveX DLL that has run fine on all our machines
I have a VB6 COM DLL that was developed on a WinXP 32bit system.
We have a legacy vb6 program using Active Reports 2. We have been running
I have a VB6 project. My question is can I call a .NET .dll
I am debugging this Active X dll using the VB6 IDE. I can see
I have a VB6 project (using Visual Studio 6) and I'm trying to distribute

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.