Home > Ask the Microsoft .Net Development Experts > ASP.NET and Web Development Questions & Answers > Calling a VB .NET app from an existing VB 6 application
Ask The Win Development Expert: Questions & Answers
EMAIL THIS

Calling a VB .NET app from an existing VB 6 application

Daniel Cazzulino EXPERT RESPONSE FROM: Daniel Cazzulino

Pose a Question
Other Win Development Categories
Meet all Win Development Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 13 February 2004
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.

>
EXPERT RESPONSE
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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
ASP.NET
Top ASP.NET expert advice from Danny Cazzulino
Access VB .NET Windows control on client side
Drop down list server control creates error message
How to retrieve the MAC address of a client using ASP.NET
How to sort a dropdown list in ASP.NET
Accessing session variables in different pages
Automatically closing a .exe
Accessing a control on an independent application
Checking input by character to verify validity
Referencing an old Crystal Reports version

ASP.NET and Web Development
Top ASP.NET expert advice from Danny Cazzulino
Access VB .NET Windows control on client side
Drop down list server control creates error message
Take care with InitializeComponent
Calling via command prompt from ASP.NET
Screen capturing
How to retrieve the MAC address of a client using ASP.NET
How to sort a dropdown list in ASP.NET
Accessing session variables in different pages
Automatically closing a .exe

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts