In my c# program, the print preview works fine on
win2000, also on a win98, but the same program,
with the same data on other win98 fails with:
"Object reference not set to an instance of an object"
at "System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()"
at "System.Windows.Forms.Control.InvokeMarshaledCallbacks()"
On all systems I used the same printer driver (hp 850c).
Thanks, Jani.
win2000, also on a win98, but the same program,
with the same data on other win98 fails with:
"Object reference not set to an instance of an object"
at "System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()"
at "System.Windows.Forms.Control.InvokeMarshaledCallbacks()"
On all systems I used the same printer driver (hp 850c).
Thanks, Jani.