Executing an ASP page from a VB App

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.

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”
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.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: