-->>Hope all is well,I've Managed to write code to Open Folders/Browse Folders using Common Dialog...
-->>The name of Common Dialog is Folder...
-->>But now as I've the Open Button when the Browse Windows Show up,I was wondering how can I...
-->>Open the Selected File when User Click the Open Button and the File to open using its Default -->>application...
-->>My Code on the Module is this:
Public Sub User_Folder(Users As CommonDialog)
'******************************************************************'
'* COMMON PROCEDURE TO ACCESS USER FOLDER IN A SYSTEM *'
'******************************************************************'
With Users
.DialogTitle = "TITLE OF MY BROWSE WINDOW:"
.InitDir = GetAppPath() & "MY INITIAL FORLDER:"
.Filter = "(*.bmp; *.jpg; *. gif; *.pcx; *.mp3;*.pcx;)| *.bmp; *.jpg; *.gif; *.pcx; *.mp3;*.pcx;|" & _
"(*.wma; *.wav; *.mpg; *.avi; *.VOB;*.png;)|*.wma; *.wav; *.mpg; *.avi; *.VOB;*.png;|" & _
"(*.mdb; *.txt; *.doc; *.xlsx; *.pptx;*.psd;)|*.mdb; *.txt; *.doc; *.xlsx; *.pptx;*.psd;|" & _
"(*.pub; *.pdf; *.chm; *.docx; *.php;)|*.pub; *.pdf; *.chm; *.docx; *.php;|" & _
"(*.html; *.bmp; *.jpg; *.gif; *.dat;)|*.html; *.bmp; *.jpg; *.gif; *.dat;|" & _
"(*.All files)|*.*|"
.ShowOpen
End With
End Sub
-->>On the Form's Command Button I call the Procedure as this:
Private Sub Browse_Folder_Click()
User_Folder Folder
End Sub
-->>Any Suggestions? Thanks...