c# - Print dialog of Excel.Interop freezes -
here's function use show print dialog (i write on c#). working nicely, when wrote it. problem - since day code keeps freezing app instead of printing. tried show() 30 missing params, doesn't make change.
public bool print() { var f1 = _application.dialogs; var f2 = f1[excel.xlbuiltindialog.xldialogprint]; bool didntcancel = f2.show(); return didntcancel; }
freezing happens in f2.show() call. app window keeps refreshing it's view, can't click on anything. tried go show() method assembler lines via ste-by-step debug, program doesn't go there, dies on moment of method call. appreciated :)
Comments
Post a Comment