Problem in loading Dialogbox Infront of a form in vb.net
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 xlWorkSheet.SaveAs(strFName) xlApp.Visible = True End If Thanks all . I solved the problem by adding Me in .ShowDialog(Me)
Check the properties of your form. You may have it set to topmost...true.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.