[Mono-bugs] [Bug 79835][Nor] Changed - PageSetupDialog: ArgumentNullException in swf-printing sample

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 29 08:48:53 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by alex.olk at googlemail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79835

--- shadow/79835	2006-11-28 23:52:09.000000000 -0500
+++ shadow/79835.tmp.1765	2006-11-29 08:48:53.000000000 -0500
@@ -203,6 +203,84 @@
 printer is turned on or off. I'm still getting "No printers installed".
 
 
 
 ------- Additional Comments From shana.ufie at gmail.com  2006-11-28 23:52 -------
 Could you try it again please? There are a few fixes in.
+
+------- Additional Comments From alex.olk at googlemail.com  2006-11-29 08:48 -------
+Now I get the following:
+
+File->Page Setup:
+Error MessageBox that tells me that there are no printers installed.
+
+File->Print Preview:
+InvalidPrinterException (see below)
+
+Very annoying if you have a printer that is working fine with all
+other programmes except mwf/sd :)
+
+System.Drawing.Printing.InvalidPrinterException: No Printers Installed
+  at System.Windows.Forms.PrintPreviewDialog.CreateHandle () [0x00038]
+in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PrintPreviewDialog.cs:887
+
+  at System.Windows.Forms.Control.CreateControl () [0x00038] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2799
+
+  at System.Windows.Forms.Control.SetVisibleCore (Boolean value)
+[0x00032] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3862
+
+  at System.Windows.Forms.Form.SetVisibleCore (Boolean value)
+[0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1766
+
+  at System.Windows.Forms.Control.set_Visible (Boolean value)
+[0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2530
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Visible (bool)
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00055] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:459
+
+  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32)
+[0x000be] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1270
+
+  at System.Windows.Forms.Form.ShowDialog () [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1212
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ShowDialog ()
+  at print_tester.Form1.filePrintPreviewMenuItem_Click (System.Object
+sender, System.EventArgs e) [0x00012] in
+/home/alex/develop/winforms/printing/swf-printing.cs:53 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)
+  at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e)
+[0x0000b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:474
+
+  at System.Windows.Forms.MenuItem.PerformClick () [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:514
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MenuItem:PerformClick ()
+  at System.Windows.Forms.MenuTracker.OnMouseUp
+(System.Windows.Forms.MouseEventArgs args) [0x0005e] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:191
+
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&
+m) [0x0083b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2020
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:185
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:171


More information about the mono-bugs mailing list