When you use the PrintDialog should't the dialog box go away once the use clicks OK? I have code similar to what is below and after the user clicks OK the dialog box remains displayed until any logic performed after it completes. I was thinking maybe I just need a PROCESS EVENTS after the WAIT-FOR but I remember tech support telling me at one point using PROCESS EVENTS with the Advanced GUI for .NET is a no no.

define private variable printDialog1 as System.Windows.Forms.PrintDialog no-undo.

WAIT-FOR printDialog1:ShowDialog() set oRes.

/* perform some code here */