Import the SUP101 project in to Visual Studio 2008, configure the
project, then download the tutorial code snippets from
SyBooks
Online Infocenter so you can create the application user
interface.
Prerequisites
- Install Windows Mobile 6 Professional SDK from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=06111a3a-a651-4745-88ef-3d48091a390b&displaylang=en.
- Download
the text files that contain the code snippets you need to build the user
interface from the SUP_WM_Custom_Dev_Tutorial_code.zip file. The code snippets are
used to create the Customers,
Customer_Details,
and Program
C# files.
- If you are viewing this guide as a PDF, you can obtain
the text files from the Sybase
SyBooks
Online Infocenter site at http://infocenter.sybase.com0.
Select the appropriate version, navigate to this
same
topic
page in the
online
tutorial, then click the link for the zip file to save
the files locally.
- If you are viewing this guide online from the Sybase
SyBooks
Online Infocenter
site,
click SUP_WM_Custom_Dev_Tutorial_code.zip to
access the text files.
- Extract the contents of the zip file to any convenient
location except
<workspace_for_Unwired_WorkSpace>\SUP101\Generated
Code\src.
As you work through this tutorial you generate code in that location
that have the same names as the downloaded files.
Task
In the prior task, you generated C# Object API code from the MBO project.
That file is located in your Eclipse workspace under
..\SUP101\Generated
Code\src.
- From <workspace_for_Unwired_WorkSpace>\SUP101\Generated
Code\src,
open SUP101.csproj in Visual Studio
2008.
- Edit the project properties.
- In Solution Explorer,
under
Solution 'SUP101' (1 project), right-click
SUP101, then select Change Target Platform,
then
select
Windows Mobile 6 Professional
SDK, then OK.
- Right-click
SUP101
again, then select Properties.
- In the Application tab, set
Output
type to Console
Application.
- In the Devices tab, set
Target
device to Windows Mobile 6 Professional Emulator
.
- Select , then save the solution as SUP101.sln.