11-28-2013 06:16 AM
Hi,
i have a problem printing a html Page at a Costumers PC with the Report Generation Toolkit.
I use LV 2012 and the Report Generation Toolkit in 32Bit Mode.
The Target is a Win7 64Bit Machine with IE10 of our Customer with very strong security rules.
Our Programm generates a HTML Repor which is saved without any problem.
When i then try to print it with Print Report.vi it doesent work and i get error1 out of the SubVi NI_ReportGenerationCore.lvlib:Print HTML Report using IE.vi.
This Sub.vi simply cant open the HTML Page with the IE.
I think its the costumers Security Rules that cause the Problem.
I saw a very strange behavior of the IE.
When i double click the .html file the IE gets opened and displays the file properly.
When i then hit the reload button it also gets reloaded.
When i click in the browsers adress bar and hit enter (Which normaly does a reload) i get an error "Adress Bar, Adresse, access denied".
And i think that happens in the Sub.vi.
I talked to some friends an they sad it could be that double clicking and reloding is done with the local user an the clicking and hitting enter reload is maybe the systemuser.
So i asume that the Sub.vi is also using the systemuser.
How can i determin which user is used to execute a vi?
Can i influence the user?
Has anybody a solution and seen this problem?
Regards,
westgate
11-29-2013 06:27 AM
Hi westgate,
I have an idea which you can try.
Take a look for the OpenDocumentOnDisk.vi
vi.lib->Platform->browser.llb->OpenDocumentOnDisk.vi
With that you can open the *.html file.
Maybe it solves the problem.
Regards
Robert
12-01-2013 11:02 PM
If I understand your situation correctly, you are able to use the LabVIEW Report Generation Toolkit to create an HTML report, which you save as an HTML file. Can you open it in a browser and print it using the browser's Print button? I've use LabVIEW to generate HTML reports, but have never tried to print the Reports in LabVIEW -- I've always used the "browser route", myself.