Topic: Why dialogue of a choice of files floats behind other windows?
Question such: From VB6 I cause dialogue of discovery of a file (for example file Excel)
I do so:
Application. Dialogs (xlDialogOpen)
fileToOpen = Application. GetOpenFilename ("Documents MSExcel (*.xls), *.xls, (*.xlsx), *.xlsx")
But a hitch that dialogues of a choice of a file float BEHIND the main form, and frequently and BEHIND all windows which are opened at present on the screen. What for nonsense? How to be?
It happens, after compilation in exe. If to launch from editor VB6 that the form of dialogue as well as it is necessary appears over remaining windows.
The forum like esteemed, but the answer and did not find.
Very much I hope for your help.