Error: Invalid object
The VBScript CreateObject (FileSystemObject) works fine on a PC, but returns
on a Windows CE device.
There is no FileSystemObject available for CE.
Solution or Workaround
Use the File object from the ArcPad object model.
The File object provides platform independent file access, so the same code will work on a PC or CE device. Unless an ArcPad application is being developed explicitly for a PC environment, developers should always use the ArcPad File object. Embedded VB has a File object, but it is only available if an embedded VB application that has a reference to this control is installed.