Solved

Call active server page

Posted on 2011-09-12
3
299 Views
Last Modified: 2012-05-12
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
Comment
Question by:TomPreen
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 500 total points
ID: 36523113
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
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 36523127
The Event is DocumentComplete.
0
 

Author Closing Comment

by:TomPreen
ID: 36707756
The coding solution was acheived using the foundation class _webview.vcx and the example ...\Samples\Solution\Ffc\Webvwr.scx
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question