I want to create a form that has text box and button to receive a file location from the user. It just a shows form and closed immediately during installation. I want to stay the form till the user browse a location.How to do that ? Plaese help me. My code is:
Protected Overrides Sub OnBeforeInstall(savedState As IDictionary)
MyBase.OnBeforeInstall(savedState)
Dim formmysqlpathBrowse As New Form
formmysqlpathBrowse.StartPosition = FormStartPosition.CenterScreen
Dim mysqlpathTB As New TextBox
Dim browseBTN As New Button
formmysqlpathBrowse.Controls.Add(mysqlpathTB)
formmysqlpathBrowse.Controls.Add(browseBTN)
formmysqlpathBrowse.Show()
End Sub