x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

show free space on WinCe

!Chris!
!Chris! Page Icon Posted 2006-06-14 4:34 AM
#
Status:
Hello,
I work with a operatorpanel Siemens OP270. On this OP runs wince. I want to write a VBA-skript witch shows the free space of a drive. I get a skript from the web witch runs well in Simulation ("c:" instead of "storage card2" on the Programming-PC (Win2000) but failed at the WinCe-Panel.
 
Dim fs, d 
Set fs = CreateObject("Scripting.FileSystemObject"
Set d = fs.GetDrive("storage card2"
freier_Speicher_Skript=FormatNumber(d.FreeSpace/1024/1024, 1)

The message that appears say: "line2: cant't create object.."
Whats the misstake? How can I show the free space on wince?

Thnaks for your help

greetings from Germany

Chris
 Top of the page
cmonex Page Icon Posted 2006-06-14 7:05 AM
#
Avatar image of cmonex
H/PC Oracle

Posts:
16,175
Location:
Budapest, Hungary
Status:
is this running CE1?
maybe this could go into the developer section
 Top of the page
_NeoStrider
_NeoStrider Page Icon Posted 2006-06-14 9:56 AM
#
Status:
this doesnt belong to Windows CE 1.0.

VBS is not suported until later versions, i guess...
 Top of the page
torch Page Icon Posted 2006-06-14 10:20 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,661
Location:
United StatesĀ 
Status:
The memory control panel shows the amount of RAM avaliable... Or are you trying to see how much space is avaliable on a storage disk... Where are you trying to enter this code into anyway?
 Top of the page
Guest
Guest Page Icon Posted 2006-06-19 7:36 AM
#
Status:
Hello,
I want to know the free space of the inserted compact-flash-card, not of the RAM.
Do you have any idea?

so long
Chris
 Top of the page
Jump to forum:
Seconds to generate: 0.140 - Cached queries : 60 - Executed queries : 8