hi all,
I am using common dialoge box for browse folder. I can open the browse window but i want to set start drive as d or any other particular drive or folder. can anyone help me to do that??
Thanks,
sagar
Printable View
hi all,
I am using common dialoge box for browse folder. I can open the browse window but i want to set start drive as d or any other particular drive or folder. can anyone help me to do that??
Thanks,
sagar
The InitDir Property of the CommonDialog will help you:
chemVB Code:
CommonDialog.InitDir = "D:\"
Thanks!! that works fine.
do u have idea in VB.NET for FolderBrowseDialoge?? I know this is not VB.Net forum but if anyone knows then plz guide me.
thanks,
Sagar.
Oh dear my brain isn't working tonight.
EDIT:
BLAH. Again, my brain isn't working. Just tested it, this should work:
VB Code:
FolderBrowseDialog.SelectedPath = "D:\"
chem