07-22-2010 03:25 AM
Hello
I saw the document on NI site called "Print HTML Report Automatically after Each UUT". That's exactly what I want to do with XML files. So I put it in my sequence file and it works fine, but when it opens the xml file at the first step, there's a pop-up from IE who say that "Scripts are generally safe, do you want to authorise this script" (This message is also displayed when I open my file in files explorer).
So, the print is not automatically anymore as I must answer to this pop-up. does anybody has a solution to bypass this pop-up ?
I tried to use the property silent on the class IWebBrowser2. Inded, the pop-up doesn't appear anymore, but my XML file isn't correctly printed. I supposed the default response of the pop-up (which is no) is applied. So the script isn't executed.
I also tried to configure IE to not display this pop-up : No result
Regards
Laurent
07-23-2010 07:08 AM
Hello,
I think that you need to configure your browser, can you take a look a this article:
http://www.maxi-pedia.com/scripts+are+usually+safe+do+you+want+to+allow+scripts+to+run
Regards,
Nacer M. | Certified LabVIEW Architecte