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
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