Solved

Call VB6 forms from VB.Net

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

732 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