[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Call active server page

Posted on 2011-09-12
3
Medium Priority
?
316 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 1500 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

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…
There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

607 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