When i load a document and use the printdocument function (with UI) the print dialog opens.
When I click the cancel button on the print dialog, i get an automation error (error 34800116 (decimal value)).
I then opened the printdocument sample and tried cancelling the print dialog in the sample. This gives the same results.
This happens in the vb6 code + samples.
When i try the vb.net sample, it gives a "user aborted" messagebox. Is the error in vb6 the equivalent of an abort result? If so, can i compare it with some enumeration of possible results?
Question 1: what is causing the error? Is it my environment somehow (i tried windows 7 and windows xp machines) or is it a bug in the viewersoftware.
Question 2: Is the error supposed to be caught and checked against an enum of possible user choices? If so where can i find a complete sample?
Question 3: If it is a "real" error what is the best way to work around the error, should i ignore this specific number or should i ignore "any" error given by the printdocument method?
Thanks in advance, Erwin
P.S. I am not allowed to read the forum rules topic on page 1, which make's posting rules a bit pointless imho
