Printing from IE hosted control

J

Jack71

I am developing a IE hosted windows forms control with VS
2003 and .NET 1.1. The control is supposed to run within
the default Internet Zone security settings.

Right now I'm having problems figuring out how printing is
supposed to work under the internet printing
permission "SafePrinting". The documentation says printing
is provided ony from a "restricted dialog box". Does
anybody know what this "restricted dialog box" is?

My experiments already fail with a SecurityException for
missing printing permissions when clicking OK within a
printDialog.ShowDialog() with the following code:

PrintDialog printDialog = new PrintDialog();
printDialog.Document = new PrintDocument();
printDialog.Document.PrintPage += new PrintPageEventHandler
( printPage );
if( printDialog.ShowDialog() == DialogResult.OK )
{
printDialog.Document.Print();
}

The printPage method is never reached. Does anybody has an
idea what I'm doing wrong?

Thanks,
Jack71
 
Y

Ying-Shen Yu[MSFT]

Hi Jack,

Thanks for your post!

It's an known issue in .NET Framework v1.1. We are unable to work around
this problem. For further assistance on this issue, please contact
Microsoft Product Support Services by telephone so that a dedicated Support
Professional can assist you further with your request. Please be advised
that contacting telephone support *will* be a charged call. However, if you
are simply requesting a hotfix, then charges are usually refunded or waived.

Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, "online" should be removed before
sending.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top