I want to put a 'Browse' button in my form to let the user to browse for his file and store the path in the database. How can I do this in VB6?
How can I load the 'Open Dialog Box' in my project
Collapse
X
-
Tags: None
-
-
HI there.
First you need to put a Folder Browser Common Dialog into your form.
After that usually you will use the property Path of the Folder Browser to get the PATH of your choise.
Code:Me.FolderBrowserDialog1.ShowDialog() Dim sPath As String sPath = Me.FolderBrowserDialog1.SelectedPath
From this point is just a matter of save into your data base.
I hope this help.
RPicilliComment
Comment