compact-framework

How can I emulate ErrorProvider in .NET Compact Framework?

Since there is no ErrorProvider class in .NETCF, how can I implement similar functionality (not necessarily exactly like ErrorProvider)? I am using all the regular databinding constructs to bind controls to a datatable, using the DataRow.RowError property and DataRow.SetColumnError method, but I can't find events on any of DataTable, Bi...

Is there a reliable way to keep Compact Framework and Desktop projects in sync with Visual Studio 2008?

I am working on an SDK that is targeting both the Full/Desktop .Net Framework and the Compact .Net Framework. As such I have a solution that has projects for the Compact Framework and the full framework. The project files contain the same source files, or thay should. Some of the developers that are working on this SDK with me are onl...

NET CF Localization with Orientation Aware

Has anyone successfully localized a Mobile app that uses Orientation Aware controls to support multiple resolutions. The CultureInfo needs to be settable at runtime and not read from the system. Not sure if this is supported. Please help. Plamen ...

Is it possible to open 2 connection on Windows mobile (3.5) ?

Hi Is it possible to open 2 connection to database (.sdf file's) on windows mobile ? (frameWork 3.5) if yes, how can I do it ? thank's in advance ...

C# Compact Framework - OutOfMemoryException with XmlSerializer.Serialize

Hi everyone, I'm trying to serialize a large collection of objects (20,000) objects within the collection. I'm doing this using the following code: XmlSerializer xs = new XmlSerializer(deserialized.GetType()); StringWriter sw; using (sw = new StringWriter()) { xs.Serialize(sw, deserialized); // OutOfMemoryException here } string ...

.Net CF Running Thread for lifetime of an application

Hello, I am developing a .Net Compact framework application in C# which utilises some third party message queuing software installed on the device. I am fairly new to this environment and was wondering if I could run a few key concepts of the architecture past some wiser eyes to see if I am on the right track or how it could be improved...

Compact Famework lock PDA screen

In windows mobile PDA app is there anyway to show a form full screen, no other PDA system menus, just our form on top in fullscreen and make the user no exit from the form (there will be an exit button in form , they can exit through that) , Like locking a windows application showing in maximized with no titlebar, taskbar , not ctrl-alt-...

SqlCeResultSet and SQL injection

When using this code to insert a row with SqlCeResultSet, SqlCeResultSet resultSet = DataAccess.OpenResultSet("MyTable"); SqlCeUpdatableRecord record = resultSet.CreateRecord(); record.SetString(1,TextBox1.Text); resultSet.Insert(record); Does it prevent SQL injection attacks? ...

debuging pocket pc 4.2 (2003) app in visual studio 2008 over 802.11

I have been pulling my hair out! Does anybody know how to debug a app on a remote device running pocket pc version 4.2 over a wireless network? I can remote debug over active sync but this device only supports active sync while cradled at 57K baud (painful debugging experience). I do wireless debugging in widows moible 5 all the time....

Microsoft Sync Framework vs WCF

I have the option of either using WCF or Microsoft Sync Framework for my next project. This will be a SQL Server backend that needs to sync to a mobile (.net cf) front end. I have a few issues, 1. the database schemas between the two databases will not be the same. 2. On the server side I actually need to call a .net dll to do the upda...

Windows Mobile- only keeping one form open. Best design question

So I would consider myself a .Net and ASP.NET pro but I am a bit new to Windows Mobile (I am targeting .net 3.5 CF and Windows Mobile 6). I am creating a data driven application that will have 3-4 tables. I have created a form for each table that allows the user to search through the table. Each form inheretes from the Main form so th...

alternate input in mobile compact framework - buttons and device keyboard

Ok, I have code that is working (posted after this) but before I expand it I wanted to throw it out here and see maybe better ways of doing what I am doing. the problem: the SIP panel sucks - sometimes all I need is numbers or letters entered into a mobile application - most of my users wind up not using the stylus but fingers so I need...

Converting OpenNetCF GetSignatureEx to Bitmap on Desktop

I have a SQLite database which is running on a handheld which is capturing signatures using OpenNetCF's Smart Device Framework 2.1 running under Windows Mobile 6.1. The signatures are captured from the Signature control using the GetSignatureEx method and stored in the database. What I want to do now is reconstitute the signatures on th...

handling persistent storage and cold boots with ce 4.2

Hello, I have spent all Friday and Saturday on this and I am running out of ideas; I have a project where I need to run sql ce and .net2.0 on a symbol 8146 device running windows ce4.2 (windows mobile 2003) along with the symbol libraries that are needed for my application. When the device is cold-booted everything in the user partiti...

PPC question

Hi i buield PPC (mobile) program that use sql CE and FrameWork 3.5 (on VS2008) which file's I need to run or install before I'll run my program ? thank's in advance ...

Get application from dll in compact framework 2.0

Hi folks, I am trying to write a method for a Compact Framework 2.0 dll which will return the name of the parent application from which the dll is called but I am struggling to see how to do this. Using reflection I am able to get the dll I have written etc - any ideas how to get the application name? Thanks Morris ...

Datagrid scrolling in Windows s Mobile way to get rid of scroll bar?

I have a very simple form using the compact framework. I have two search fields a search button and a datagrid. The button sets the DataSource for a DataGrid on the form. I know that I can set the height and width on the DataGrid but I don't want the user to have to use the scroll bars on the DataGrid as it has a few hundred records. ...

Flickering Task Bar on Full Screen Windows Mobile 6 Apps

Just finishing off an update to an application written in VB.NET that used to run fine under CE.NET 4.2. Deployment platform is now Windows Mobile 6.1. The application runs in full screen, however whenever a new form is opened, the task bar, i.e. the bar with the start button comes to the fore and then the new form takes over. This is ...

Getting State of Modifier Keys Compact Framework

How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked: Shift CTRL ALT and for the Psion Teklogix machines Orange Blue Although I may be able to work this out, if I can determine the others. I want to c...

C# - Block code from executing in the designer

I'm executing a line of code that fails to execute within the designer, causing all of my control's public properties to no longer show up in the designer. Because of this I can no longer see any of my forms that use that control in the Visual Studios Design View. The line of code in question calls an unsafe code project that does a bit...