|
-
Dec 1st, 2011, 05:49 PM
#1
Thread Starter
New Member
PrintDialog Windows 7
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|