Share via

c# printDocument1.Print(); System.Runtime.InteropServices.SEHException

zz z 1 Reputation point
2022-02-10T02:32:37.367+00:00

private void button1_Click(object sender, EventArgs e)
{
printDocument1.Print();
if (AutoPrint)
this.Close();
}
My system is win10,vistual studio in debug mode click button1 printDocument1.print error,only run exe no error.

Developer technologies | Windows Forms
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.