Invalid object

Last Published: April 25, 2020

Error Message

The VBScript CreateObject (FileSystemObject) works fine on a PC, but returns

"Invalid object"

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.

Article ID:000005432

  • ArcPad Prev

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options