devxlogo

Executing an ASP page from a VB App

Executing an ASP page from a VB App

Question:
I have an ASP file residing on a Web server. Is there any way that I can execute this file from within my VB application? This should be similar to a background execution with the VB user not knowing about it.

Answer:
You can use the Internet Transfer Control or the WebBrowser control in your VB app to quietly execute the remote Web server ASP page. This assumes that the user has an active Internet Connection when your VB code is executing.

You can either use:
WebBrowser1.Navigate “your ASP Page URL here”
or
Inet1.Execute “your ASP page URL here”
to run the remote page. Make sure the Web browser control is invisible if you do not want the user to know it is executing.

Remember, though, that you won’t be able to get any data back from the asp page without more coding.

See also  5 Tips to Manage a Remote Workforce
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist