I have a winform app with an export to Excel function. The user is prompted to save the worksheet after the export. This works fine in debug mode. The Save dialog box goes behind the form in release mode. Is there a way to force it to stay on top of the form?
Code:
<code to read thru dataset and write to spreadsheet>
xlWorkBook.Close(SaveChanges:=True)
<code to release objects created during export process>
I'll post more code if necessary.
Thanks.
Kris Hood