My apologies if this is already somewhere in the forum and I just could not find it.
Let's begin by assuming that accessing a certain .ASPX webpage will display a text 'report' if a previous web operation was executed.
If that operation was not executed, there will be a blank page displayed.
I need to create a VFP program to 'hit' the .aspx page and 'retrieve' the page contents into a string.
I can then 'interrogate' the string to determine if it is blank or not and then do the appropriate actions.
Since I have not done this type of thing before, what I need is assistance/suggestions/advice towards developing the program to accomplish the task.
Any advice/suggestions you might have would be greatly appreciated.
Thanks,
JRB-Bldr
Let's begin by assuming that accessing a certain .ASPX webpage will display a text 'report' if a previous web operation was executed.
If that operation was not executed, there will be a blank page displayed.
I need to create a VFP program to 'hit' the .aspx page and 'retrieve' the page contents into a string.
I can then 'interrogate' the string to determine if it is blank or not and then do the appropriate actions.
Since I have not done this type of thing before, what I need is assistance/suggestions/advice towards developing the program to accomplish the task.
1. How to 'hit' the webpage
2. How to retrieve its contents into a string variable (or other object)
Any advice/suggestions you might have would be greatly appreciated.
Thanks,
JRB-Bldr