.NET Mobile Generator (GX 9.0)

Unofficial Content
Warning: The .NET Mobile generator has been discontinued. Refer to Native Mobile Applications Development.


The .NET Compact Framework is a rich subset of the .NET Framework that provides the same benefits as the .NET Framework. The main difference lies in the fact that the .NET Compact Framework is specifically designed for resource-constrained devices, such as PDAs and smart mobile phones. The .NET Compact Framework greatly simplifies the process of creating and deploying applications to mobile devices with GeneXus , while taking advantage of all the GeneXus potential. 

The Microsoft .NET Compact Framework is supported on Pocket PC 2000, Pocket PC 2002, Windows Mobile 2003-based Pocket PCs and embedded systems running Windows CE .NET 4.1 and later.



Configuring the Model

You can generate client/server applications with SQL Server, and local database applications with SQL CE. The access method is ADO.NET. 

If you are using a SQL Server database, the DBMS options are the same as for the .NET generator. 

However, if you are using SQL Server CE, in the DBMS Options you need only set the Database name and password. (See SQL Server CE Configuration

If  you use Visual Studio 2003 you must always define the model property "Compact framework assemblies directory" with the resources path (for example "C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE") 

In Upgrade 2  we have a new model property: Target Platform = Pocket PC 2003 / Windows Mobile 5.0 Pocket pc / Windows Mobile 5.0 Smartphone. The default value is Pocket PC 2003.

Note: When you change the Target Platform all the standar classes are copied to the model directory

My First Model 

Executing the Reorganization & Deploying the Application

To Execute and deploy the application you can copy the files to the device/emulator or execute the GeneXus Deployment tools 


The .NET Compact Framework allows you to send reports to Printer or File. Use this feature to make a printer API.

More Information... 


The .NET Mobile generator allows you to synchronize a SQL Server CE database with a SQL Server 2000 database. 

More Information... 


Pocket PC vs Windows Mobile

SQL Server CE Configuration 

Tips and Tricks .Net Mobile 

Common Problems .Net Mobile 

Net Mobile Upgrade 2 considerations

Comments & Collaboration

Microsoft SQL Server CE 

.NET Compact Framework 

PDA Models review 


July 21st: Luis Miyashita sent to beta testers forum the URL to download the VStudio 2003 trial: