UltraLite ActiveX User's Guide
Tutorial: An UltraLite Application for PocketPC
Lesson 4: Deploy to a device
The following procedures deploy your application to a Windows CE device manually.
To add the UltraLite ActiveX control to your device
Start the Windows CE Control manager.
Select Tools
In the left pane, double-click your device type and select your device. Your device must be connected.
The right pane shows the controls available on the selected device.
Choose Control
Browse to the appropriate version of the UltraLite ActiveX control, located in one of the following platform-specific subdirectories of your SQL Anywhere installation:
ARM ultralite\UltraLiteActiveX\ce\arm\uldo9.dll
MIPS ultralite\UltraLiteActiveX\ce\mips\uldo9.dll
Click OK.
Alternatively, you can copy the DLL to the \Windows directory on the device and register it using regsvrce.exe.
To deploy the database schema file to your device
Start the Windows CE File Viewer.
From eMbedded Visual Basic, choose Tools
If the File Viewer does not automatically connect to your device, choose Connection
Create a folder to hold your application.
In the File Viewer, open the Program Files folder.
Choose File
Create a folder named tutorial. This folder is used to hold your application files.
Click tutorial to navigate to that folder.
Deploy the schema file to your device.
Choose File
Browse to c:\tutorial\evb and double-click tutcustomer.usm.
To deploy your application to a remote device
Select File
Browse to c:\tutorial\evb. Name your project Form1. Click OK.
Deploy the .vb file to your device.
In the File Viewer, browse to Program Files\tutorial.
Choose File
Browse to c:\tutorial\evb and double-click Form1.vb.
You can now launch the sample application on your remote device by browsing to Program Files\tutorial and launching Form1.vb.