Solved

Call active server page

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adjust TIME parameter in Visual FoxPro config file 36 164
Visual Project Bridge error 5 70
How to remove Duplicates from Generic List in Csharp 5 75
Server Timeout with Loop 6 37
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

13 Experts available now in Live!

Get 1:1 Help Now