• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Call active server page

I have a VFP 9 application which extracts data from a local database for use in a web appliaction.

Upload of the data is  carried out from an actice server page.

The web designer has provided the URL and I am required to excecute the ASP from within my application.

I require to programmatically run the ASP and return control to my program for creation of the next upload.

Idealy I would like a return value from the ASP indicating success or failure.

0
TomPreen
Asked:
TomPreen
  • 2
1 Solution
 
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
You can use a WebBrowser inside a form or created in a variable.

You call this WebBrowser and Navigate to the page. I understand you are using a form to upload the data? or Parameters?

This ASP page should return a value or confirmation which you can read in the WebBrowser Control on PageLoadComplete.

Once the value meets success, you can all the WebBrowser again to upload the next batch.
0
 
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
The Event is DocumentComplete.
0
 
TomPreenAuthor Commented:
The coding solution was acheived using the foundation class _webview.vcx and the example ...\Samples\Solution\Ffc\Webvwr.scx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now