A
Allister Farn
I have created a HTA from which I need to call a .NET webservice. I've
written the HTA to use the webservice.htc behaviour, but am wondering
if there is a better way. I am trying to limit the number of "advanced"
steps the users need to carry out (i.e. savnig files, downloading other
files to the same directory etc).
The scenario is as follows:
The user needs to download a report that requires user input, and they
need to save the report to their local file system, as they have to
provide input to the report when they are offline.
The user then goes online at a later stage, re-opens the report and
clicks on a Submit button which validates the report content, and then
calls a webservice passing a long string which is the data collected
via the report.
The web service then processes, validates and saves this data, and
returns either a success value or an error to the HTA, which is
displayed to the user.
Because it is not possible to reference webservice.htc using a http url
within the HTA, it appears that it is necessary for the user to
download and save the webservice.htc file to the same directory as
where they'll be saving the HTA. I'd prefer to avoid this step if
possible.
Can you please suggest other ways in which this functionality can be
provided?
written the HTA to use the webservice.htc behaviour, but am wondering
if there is a better way. I am trying to limit the number of "advanced"
steps the users need to carry out (i.e. savnig files, downloading other
files to the same directory etc).
The scenario is as follows:
The user needs to download a report that requires user input, and they
need to save the report to their local file system, as they have to
provide input to the report when they are offline.
The user then goes online at a later stage, re-opens the report and
clicks on a Submit button which validates the report content, and then
calls a webservice passing a long string which is the data collected
via the report.
The web service then processes, validates and saves this data, and
returns either a success value or an error to the HTA, which is
displayed to the user.
Because it is not possible to reference webservice.htc using a http url
within the HTA, it appears that it is necessary for the user to
download and save the webservice.htc file to the same directory as
where they'll be saving the HTA. I'd prefer to avoid this step if
possible.
Can you please suggest other ways in which this functionality can be
provided?