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

  • Home
  • SEARCH
  • 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 183551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:08:10+00:00 2026-05-11T15:08:10+00:00

We are currently working on porting an old VB6 application to WPF. The plan,

  • 0

We are currently working on porting an old VB6 application to WPF. The plan, in phase one, is to port several key forms and not all the application. Its been brought up that we might try and open some of the old VB6 form from within the WPF application (as modal forms), thus providing greater functionality then intended for the first phase.

My question for you friends, first of all, is this kind of abomination 🙂 even possible? Can VB6 forms can be opened from a WPF application?

Thanks, Shahaf.

  • 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. 2026-05-11T15:08:11+00:00Added an answer on May 11, 2026 at 3:08 pm

    What you need to do is package the forms into an ActiveX DLL and expose classes that can setup the initial values, bring up the forms, and return whatever values they modify.

    For example in my own CAD/CAM applications we have the Forms, then a layer that consists nothing of Command Objects (classes that implement the Command Design Pattern) that modify the model, and the model all written in VB6.

    Some of the Commands call dialogs that are VB6 Forms. Some are simple and other are complex. The first phase of our conversion project was to rip off the top form layer and replace it with a .NET equivalent. The new .NET forms referenced the Active DLLs containing the Command Object.

    It worked fine. There were some visual differences between the .NET look and the look of a VB6 form but other than the command dialogs ran just as they did under the VB6 executable.

    One note of caution is that if you are continuing to modify the original ActiveX DLLs during this process then building the .NET program becomes a bit of pain. Unlike VB6, .NET isn’t as automatic when it comes to updated references to newer versions of a referenced ActiveX library. The solution is simple, you drop the original reference and then add the new reference.

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

Sidebar

Ask A Question

Stats

  • Questions 237k
  • Answers 237k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I just don't see COM going away any time soon.… May 13, 2026 at 6:38 am
  • Editorial Team
    Editorial Team added an answer The key thing to remember here is that int in… May 13, 2026 at 6:38 am
  • Editorial Team
    Editorial Team added an answer Is the property browser suspended? If so, this might help:… May 13, 2026 at 6:38 am

Related Questions

We are beginning the process of moving from Web Forms to MVC for all
I'm writing a client-server application to be used in a computer lab and act
So I'm working on a framework-esque system with one of my co-workers. Our current
I am working on a Java/Struts application that uses Tomcat 6.0.10. It's a typical

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.