UltraLite ActiveX User's Guide
Tutorial: Using Dynamic SQL in an UltraLite Application for PocketPC
Lesson 4: Deploy to a device
The following procedures deploy your application to a remote device manually.
To add the UltraLite ActiveX control to your device
Start the Windows CE Control Manager.
Choose Tools
In the left pane, double-click your device type and select your device. The target device must be connected to your computer.
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 subdirectories of your SQL Anywhere installation:
ARM ultralite\UltraLiteActiveX\ce\arm\uldo9.dll
MIPS ultralite\UltraLiteActiveX\ce\mips\uldo9.dll
Intel 386 ultralite\UltraLiteActiveX\ce\386\uldo9.dll
Note that uldo9.dll is an ActiveX file, not a control, so it wil not appear in the list of controls on the device.
Alternatively, you can copy uldo9.dll to the \Windows directory on the device and register it using regsvrce.exe.
To deploy the database schema file 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 tutorial.usm.
To deploy your application to a remote device
Select File
Browse to c:\tutorial\evb. Name your project Form2. 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 Form2.vb.
You can now launch the sample application on your remote device by browsing to Program Files\tutorial and launching Form2.vb.