UltraLite User's Guide
Tutorial: A Sample UltraLite Application
Lesson 2: Install the sample application to your target platform
You need to carry out the steps in this section only if you wish to run the tutorial on a Windows CE device. If you wish to run the tutorial on a desktop Windows machine, proceed to Lesson 3: Start the sample application and synchronize.
To copy the sample application to a CE device
Ensure that Windows CE Services is properly installed. You can do this by checking whether Windows Explorer can view and modify the file system on the CE device.
Open the Windows Explorer. Right click on My Computer and select Explore.
Find your SQL Anywhere installation directory. The default location is as follows:
c:\Program Files\Sybase\SQL Anywhere 9
Open the ultralite\ce folder so that the contents of the folder are visible. Open processor-specific folder depending on the CPU used in the CE device. The executable file CustDB.exe should be visible at this point.
Right click on CustDB.exe and select Copy.
Find the CE device in the Explorer hierarchy. It should be under the Mobile Devices folder. Create a folder on the CE device called Sybase. Open the Sybase folder on the device and paste the executable to copy the CustDB.exe file to the CE device. You may be asked whether you want the file to always be synchronized or converted before copying, both of these actions can be refused.
In the Sybase folder on the device, there should be one executable file, namely, CustDB.exe. Right click on CustDB.exe to create a shortcut and rename the shortcut to CustDB.
On the CE Device, open the root folder Windows followed by Start Menu and Programs. In the Programs folder, add a Sybase folder.
Move the shortcut for CustDB from \Sybase to the \Windows\Start Menu\Programs\Sybase folder by cutting and pasting the shortcut.
The samples are now accessible from the CE device Start button. Select Start
For the next step, see Start the application (Windows CE).