Here is code you can trim for that functionality:
http://www.freevbcode.com/
Have fun.
Main Topics
Browse All TopicsI'm trying to open the window of Local Disk (C:) Properties to one of the Tabs from VB6.
The only code I've come across is in Elte Spy but it don't seem to work and I lost what I did have.
If you right click a drive and choose properties it brings this window up. General/Tools/Hardware and so forth.
Does anyone have any easy code to do this? I'm using VB6 and its for XP
Half my points since I have another question after I can get this going.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is code you can trim for that functionality:
http://www.freevbcode.com/
Have fun.
I have to give the major points to vinnyd79 since he provided the fastest and worked perfectly code without me having to do anything but paste in my App and change what I have firing the event.
bhess1 yours also worked but I would have to trim it for it to work. I had done scoured that site but you know how it is when your'e looking for something and your eyes seem to crisscross and blur and maybe I looked over it.
Thanks to both of you for your answer's. Amazing how you both answered at same exact time 03:04PM PDT .
Business Accounts
Answer for Membership
by: vinnyd79Posted on 2003-06-13 at 15:04:16ID: 8721303
Not sure if this is what you are looking for,or if it will work on xp.Try adding this to a form with a command button:
Private Type SHELLEXECUTEINFO
cbSize As Long
fMask As Long
hwnd As Long
lpVerb As String
lpFile As String
lpParameters As String
lpDirectory As String
nShow As Long
hInstApp As Long
lpIDList As Long
lpClass As String
hkeyClass As Long
dwHotKey As Long
hIcon As Long
hProcess As Long
End Type
Private Declare Function ShellExecuteEx Lib "shell32" (SEI As _
SHELLEXECUTEINFO) As Long
Private Function ShowProp(FileName As String) As Boolean
Dim SEI As SHELLEXECUTEINFO
With SEI
.cbSize = Len(SEI)
.fMask = &H44C
.lpVerb = "properties"
.lpFile = FileName
End With
ShowProp = ShellExecuteEx(SEI) <> 0
End Function
Private Sub Command1_Click()
ShowProp ("C:")
End Sub