NET 1.1 dependancies XP embedded

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top