H
Howard Smith
I have the following code snippet
With New Management.ManagementObject
("win32_logicaldisk.deviceid=""" & "C:".Substring(0, 2)
& """")
.Get()
mDescription = CStr(.Properties
("Description").Value)
mDriveType = GetDriveType(.Properties
("DriveType"))
mFileSystem = CStr(.Properties
("FileSystem").Value)
mFreeSpace = GetBytes(.Properties
("FreeSpace"))
mName = CStr(.Properties("Name").Value)
mSize = GetBytes(.Properties("Size"))
Which works fine on standard XP, but on XPe everything
runs but freespace and size always return 0.
I cannot find any mention of dependencies for the
managementobject?
Thanks
Howard Smith
With New Management.ManagementObject
("win32_logicaldisk.deviceid=""" & "C:".Substring(0, 2)
& """")
.Get()
mDescription = CStr(.Properties
("Description").Value)
mDriveType = GetDriveType(.Properties
("DriveType"))
mFileSystem = CStr(.Properties
("FileSystem").Value)
mFreeSpace = GetBytes(.Properties
("FreeSpace"))
mName = CStr(.Properties("Name").Value)
mSize = GetBytes(.Properties("Size"))
Which works fine on standard XP, but on XPe everything
runs but freespace and size always return 0.
I cannot find any mention of dependencies for the
managementobject?
Thanks
Howard Smith