0 pts.
 How to send http-string from vbscript asynchronously
This is the problem: My program (HTML Template) generates HTML code at a server for a web page display at a client. The display is a preview of a till (or sales receipt). During building the page at the client, some VBscript modules are processed (like OPOS-Printer-commands to print the the receipt and to open the cash drawer). Within those VBscript modules the client browser must send http-commands which do not need to wait for any answer or anything else, they just have to tell a monitoring target web server service that specific points of processing the code have been executed at the client explorer. I tried location.href: this works but only once (at the end of the html page) and it uses the active explorer window, thus clearing the till preview - the fuction itself works fine at the monitor. This is the question: How can I send http-strings out of a VBscript that does overcome the unwanted effects? Thank you for any tipp! Heiner

Software/Hardware used:
ASKED: May 27, 2005  8:31 AM
UPDATED: May 27, 2005  9:20 AM

Answer Wiki:
If the client has the MS Xml Parser installed, you can use it to send an HTTP request to a web page. Go to www.microsoft.com/xml and get the SDK for MSXML 4.0. It has code examples for using the HTTPRequest object. Michael
Last Wiki Answer Submitted:  May 27, 2005  9:20 am  by  MiketheITguy   0 pts.
All Answer Wiki Contributors:  MiketheITguy   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _