Solved

Call VB6 forms from VB.Net

Posted on 2014-09-12
3
334 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:charlesbaldo
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 69

Accepted Solution

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

Author Closing Comment

by:charlesbaldo
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Library to convert HTML to PDF. 8 44
Problem to go to Web page 2 51
Code enhancement 5 12
What .NET website keeps me current? 9 30
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now