Hi,

I'm using a 64 Bit Windows 7 system and trying to use PrintDialog. I know it doesn't work on Windows 7 unless you add this code:

PrintDialog1.UseEXDialog = True

So I have added that code but then I get this error for the following code:

Dim result As DialogResult = PrintDialog1.ShowDialog()

And the error:

"An exception of type 'System.Runtime.InteropServices.SEHException' occurred in System.Windows.Forms.dll but was not handled in user code

Additional information: External component has thrown an exception."


Could you please help me fix this issue
Thanks