Solved

Call VB6 forms from VB.Net

Posted on 2014-09-12
3
356 Views
Last Modified: 2014-09-12
I have a very, extremely large vb6 system that there is no way to convert all at once, We are creating new apps in vb.net and maintain the old in vb6.  We could shell out to the standalone .exe, but we have many exe with a lot of forms. It would be great to be able to open the forms in vb.net.

Please the option of just taking the plunge and converting is not possible
0
Comment
Question by:Charles Baldo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 40319718
>>It would be great to be able to open the forms in vb.net.

The only way I know of means you adding functionality to the vb6 app such that you pass a command line parameter to instruct it which form to open.
eg.
OldApp.exe Form1  to show form1
OldApp.exe Form2  to show form2
and so on.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 40319735
0
 

Author Closing Comment

by:Charles Baldo
ID: 40320419
Eric,

Thanks, I saw this and tried working with it,  Your link at least provides me some new info to work with
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

749 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