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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:21:28+00:00 2026-06-13T08:21:28+00:00

I was tasked with building a C# 4.0 application that leverages an old VB6

  • 0

I was tasked with building a C# 4.0 application that leverages an old VB6 COM component to integrate with another old VB6 application. The component was built strictly for this integration, and is deployed by my application.

I built an installer for my C# application using Visual Studio Setup project, and added that COM component to the list of deployed files. Installer auto registers/unregisters the component beautifully.

However, the issue I have now is that after uninstalling the application on my development box I can’t debug the application without registering the COM component again by hand since the uninstall unregistered it. I’m not implying the uninstall shouldn’t unregister the COM component. I’m just trying to figure out a better way of making sure we can still build and test both the application and installer on our development boxes without this inconvenience.

P.S. I tried using a DllImport, but it never finds the entry point. From what I understand from research you can’t really use a DllImport on a COM component. I hope I didn’t miss something.

  • 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-06-13T08:21:28+00:00Added an answer on June 13, 2026 at 8:21 am

    You’re pretty much doing the right thing and the installer has to unregister the COM component unless you want to encounter some really problematic effects on customers machines.

    Unfortunately there isn’t much you can do apart from maybe writing a simple CMD file to re-register the COM component after you tested the installer.

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

Sidebar

Related Questions

I'm tasked with building an app that would recreate an image using words and
I have been tasked with building an application where an end user can have
I'm currently tasked with building a spreadsheet-like GUI for a WPF application and I've
I've been tasked with building a very simple app that that has a series
I have been tasked with building a new system that models a virtual filesystem.
I've just been tasked with building a web application using ASP (.net) and am
I am tasked with building an HTML/JavaScript application which is not networked (it runs
I'm tasked with building an educational game for 6 - 10 year-old children using
I'm tasked with building a large eCommerce site for a retailer. We are using
Background: I've been tasked with converting an Access database application to ASP.Net C# MVC.

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.