dead3y3 Posted February 17, 2006 Posted February 17, 2006 Hello guys. I createt a ActiveX Componet with C#. The Componet prints automatically when her gets a string value on the clients computer with the clients printer. Now i have the following problem. Locally and in the Intranet loads the Internet Explorer the "print.dll" with no problems and the printer prints :cool: but over the internet he not load and not print. Wuy ? :confused: I habe searched in Google and other forums etc. I know i can make a automated install with .cab files. like Macromedia Flash Player but i do not know how. Here my Code: $ausgabe .= "<OBJECT classid=\"print.dll#ActiveXDotNet.myControl\" codebase=\"Install.CAB\">"; $ausgabe .= " <param name=\"UserText\" value=\"".$ticket_text."\">"; $ausgabe .= " <param name=\"PrintFont\" value=\"Verdana\">"; $ausgabe .= " <embed src=\"print.dll\" autostart=\"true\"></embed>"; $ausgabe .= "</OBJECT>"; I hope your can help me. dead3y3 Quote
Administrators PlausiblyDamp Posted February 20, 2006 Administrators Posted February 20, 2006 IE has restricted permissions on what a non-trusted site is allowed to do - automatically installing software is one of these things. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.