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 I am working with XP embedded, and when
I run this it returns 0 for both freespace and size
Does anyone know which XP 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 I am working with XP embedded, and when
I run this it returns 0 for both freespace and size
Does anyone know which XP component this may be dependant upon?
TIA
Howard Smith