Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Force Excel Save dialog to remain on top of window in release mode

$
0
0

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


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>