Dark Shadow Posted July 21, 2003 Posted July 21, 2003 When I try to upgrade the project I have this error message : Why this append and how to compile my code ? Thx Đ@ΓЌ §Ħ@ĐØШ Quote
*Experts* mutant Posted July 21, 2003 *Experts* Posted July 21, 2003 You need to have VB6 installed to have the license for the CommonDialog control, becuase it is not a standard control in VB6. Quote
Leaders dynamic_sysop Posted July 21, 2003 Leaders Posted July 21, 2003 it's best to avoid the upgrade wizard really ( it's a pile of **** ) in vb.net there's a " SaveFile Dialog " and "OpenFile Dialog " , they replace the Common dialog Quote
Leaders dynamic_sysop Posted July 21, 2003 Leaders Posted July 21, 2003 here's a quick example of how to use the OpenFile Dialog : Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim OpenDlg As New OpenFileDialog() With OpenDlg .Filter = "Text (*.txt)|*.txt" .InitialDirectory = "C:\" .ShowDialog() End With End Sub the principle is the same for " SaveFile Dialog " Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.