Problem in loading Dialogbox Infront of a form in

Recommended Answers

All 5 Replies

What code have you tried that isn't working? The .ShowDialog method should work.

I used .ShowDialog method.
dialogwindow is opened behind the application window .so user can't see that window


Can you show us your code how you open the application window.

  If SaveFileDialog1.ShowDialog(Me) = DialogResult.OK Then

                strFName = SaveFileDialog1.FileName


                xlApp.Visible = True

            End If

            Thanks all .
            I solved the problem by adding Me in 

Check the properties of your form. You may have it set to topmost...true.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.