H
Howard Smith
Hi
I have a code snippet....
----------------------------------------------------------------------------
-------
With New Management.ManagementObject("win32_logicaldisk.deviceid=""" &
"C:".Substring(0, 2) & """")
..Get()
mFreeSpace = .Properties("FreeSpace").Value
mSize = .Properties("Size").Value
TextBox4.Text = mFreeSpace.ToString
TextBox6.Text = mSize.ToString
End With
----------------------------------------------------------------------------
--------
Which on XP Pro works fine. However with XPe, it returns 0 for both
freespace and size.
Does anyone know which XPe component this may be dependant upon?
TIA
Howard Smith
I have a code snippet....
----------------------------------------------------------------------------
-------
With New Management.ManagementObject("win32_logicaldisk.deviceid=""" &
"C:".Substring(0, 2) & """")
..Get()
mFreeSpace = .Properties("FreeSpace").Value
mSize = .Properties("Size").Value
TextBox4.Text = mFreeSpace.ToString
TextBox6.Text = mSize.ToString
End With
----------------------------------------------------------------------------
--------
Which on XP Pro works fine. However with XPe, it returns 0 for both
freespace and size.
Does anyone know which XPe component this may be dependant upon?
TIA
Howard Smith