-
November 26th, 2013, 01:58 PM
#1
I'm just missing around with vb and have questions?
Hi, Everyone at codeguru I'm just missing around with vb6.0 and I just want to know if there's away to do this.
My question is. There away to make my program look in a drive that I have made called G:\ and in that drive I have these files
1:G:\root
2:G:\root\Documents
3:G:\root\Pictures
4:G:\root\Music
5:G:\root\Videos
Now I have made a like explorer to view files on my system, what I'm asking is there away to let my program only show just the G:\ drive and whats in it, every time I try to do that it just shows all files in every drive like c:\ and every drive I just want the file explorer to show G:\ and all files in it and nothing else, I hope I'm making sense. thanks everyone If you don't know what I'm talking about just ask me.
-
November 26th, 2013, 06:59 PM
#2
Re: I'm just missing around with vb and have questions?
try using the SHELL command. "shell explorer G:" or try from the command prompt: explorer /? for other options.
You could always MAP that drive, using NET USE /?
-
November 26th, 2013, 07:23 PM
#3
Re: I'm just missing around with vb and have questions?
ok thanks, I will try that now
-
November 27th, 2013, 02:55 AM
#4
Re: I'm just missing around with vb and have questions?
Hard to say depends on how you made this
I have made a like explorer to view files on my system
If you only want them to be able to view one drive then you could just not give an option to switch drives and set that one initially
Shelling to Explorer with a Drive letter will launch Explorer and it will start initially showing that drive the other drives will also be accessible via the drop down
But then if you are working with something you wrote that would have nothing to do with your software
I'm not really sure what you have now so if that doesn't help then perhaps some clarification is in order
Always use [code][/code] tags when posting code.
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
|