|
-
Sep 28th, 2006, 02:42 AM
#1
Thread Starter
Hyperactive Member
{resolve}set default value in browse window
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
Last edited by sagarpassion; Sep 28th, 2006 at 11:51 PM.
-
Sep 28th, 2006, 03:23 AM
#2
Re: set default value in browse window
The InitDir Property of the CommonDialog will help you:
VB Code:
CommonDialog.InitDir = "D:\"
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Sep 28th, 2006, 06:11 AM
#3
Thread Starter
Hyperactive Member
Re: set default value in browse window
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.
-
Sep 28th, 2006, 06:17 AM
#4
Re: set default value in browse window
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
Last edited by chemicalNova; Sep 28th, 2006 at 06:22 AM.
Visual Studio 6, Visual Studio.NET 2005, MASM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|