Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script Error res://ieframe.dll/preview.js while printing

Status
Not open for further replies.

Freemo

MIS
Oct 25, 2005
71
GB
Hello All

I have a vb program which prints displayed webpages using the following code -

WebBrowser.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER

On a couple of computers the program displays the script error 'res://ieframe.dll/preview.js' With the option to continue running script. And doesn't print.

On looking more closer, the problem computers all have IE8. I have looked across the internet looking for a resolution and could only find ideas to either register dll's - which i have done. Or reinstall IE7 - which i did try on one computer but didn't fix this issue.

Any help would be appreciated.

Thank you for your time.
 
If you do File-->Print on those IE8 PC's it works fine?

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Hello HarleyQuinn

Yes printing directly from IE8 works fine.

I have also disabled Script Debugging Internet Explorer and Other in Internet Options but still does the same.

Thanks for your help so far
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top