Solved

Call VB6 forms from VB.Net

Posted on 2014-09-12
3
363 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

Independent Software Vendors: 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

728 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