Solved

Call active server page

Posted on 2011-09-12
3
293 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now