path help needed !!
-
i want to put a browse like button which would actually let me browse through the computer and entire network for files to determine the path of files or folders. Plz tell me how do i add this browsing facility to a VB 6.0 form. thanks waiting for a quick reply
-
i want to put a browse like button which would actually let me browse through the computer and entire network for files to determine the path of files or folders. Plz tell me how do i add this browsing facility to a VB 6.0 form. thanks waiting for a quick reply
add a comman Dialog active x control to your form. 1) add the component project-> components -> then place a check box next do comman dialog controls. 2) place the control on your form. 3)and then use code like below ComDialogfrmMain.CancelError = True ComDialogfrmMain.Flags = cdlOFNNoValidate ' Set filters ComDialogfrmMain.Filter = "All Files (*.*)|*.*|Text Files" & _ "(*.txt)|*.txt|Data Files (*.Dat)|*.Dat" ' Specify default filter ComDialogfrmMain.FilterIndex = 3 ' show dialog ComDialogfrmMain.ShowOpen xtFileName = ComDialogfrmMain.FileName