I have an existing VB6 Web application. At this point in time, we do not wish to convert it to .NET. However, we
are in the process of creating some electronic forms and an application to manage them that we would like to write in VB.NET and ASP.NET, and then call from our existing VB6 application. I am assuming this is possible. Can you let me know if it is? Thanks. Yu can surely do that. There are two different things to consider here: starting the application from VB6 and pulling information from it with VB6.
Starting the application is as easy as using a WebBrowser control and point it to the default page on your Web app. Pulling information from it may require that the ASP.NET app delivers information in a VB6-friendly way, such as a text stream.
So, the VB6 app can simply do a request (HTTP GET) for a Web page (say GetFilledForms.aspx) and get the results as a string. The ASP.NET page can perform Response.Write calls to generate the output.
Dig deeper on VB 6 to VB .NET Migration
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ...continue reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers.continue reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.