Questions tagged [.net-cf-3.5]

For .NET compact framework version 3.5 related questions

The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework that is designed to run on resource constrained mobile/embedded devices such as personal digital assistants (PDAs), mobile phones, factory controllers, set-top boxes, etc. The .NET Compact Framework uses some of the same class libraries as the full .NET Framework and also a few libraries designed specifically for mobile devices such as .NET Compact Framework controls. However, the libraries are not exact copies of the .NET Framework; they are scaled down to use less space.

The Microsoft .NET Compact Framework 3.5 Redistributable contains the common language runtime and class libraries built for the .NET Compact Framework. In addition to version 3.5 support, it also supports applications developed for version 1.0 and 2.0. The .NET Compact Framework 3.5 provides new features such as Windows Communication Foundation, LINQ, SoundPlayer, new runtime tool support, and many other features.

147 questions
1
vote
0 answers

Webservice consumer optimalization

I am writing a .NET application for Windows Mobile 6.5 (based on 3.5 CF). I imported the wsdl and Visual Studio (2008) generated a webservice consumer, I can see the code in Reference.cs and I have a vague understanding of what it does. The…
raoel
  • 13
  • 5
1
vote
1 answer

XmlSerializer.Deserialize() behaves different between NECF 2.0 and NETCF 3.5

I am migrating an old NETCF 2.0 Application which uses webservices to NETCF 3.5. The webservice of the foreign server remains the same without changes. Also I newly generated Reference.cs using VS 2008 Command Prompt - and was excited to see the…
1
vote
0 answers

Retrieving name and/or text from a WinForms control using the WinAPI (CE)

I am trying to traverse the controls of a WinForms form (Windows CE) and retrieve/match their textual contents and names (that is, the Name property assigned to the WinForms Control object). I do this from within a different process, thus…
chiccodoro
  • 14,407
  • 19
  • 87
  • 130
1
vote
1 answer

AutoCompleteSource for textbox in Compact Framework 3.5?

Does anyone know how to do AutoCompleteSource for TextBox UI element in Compact Framework 3.5? (with C#) To display suggestions, as user types into TextBox, from data in specified dataset? Here is link from Microsoft that describes how to use…
22332112
  • 2,337
  • 5
  • 21
  • 42
1
vote
3 answers

How to send data from C# to JavaScript/AJAX webpage

Basically, I have a need for a c# server to be able to send data back to an HTML5 webpage which has previously send data to the server. The server is retrieving data from another application and this data then needs to be send to the webpage to be…
Patrick_92
  • 99
  • 6
1
vote
1 answer

MS Sync Framework: synchronize 1 client DB with 2 server databases

Working on occasionally connected application on Windows Mobile devices. Application stores data locally in SQL CE database which is synced with MSSQL DB using MS Sync Framework (via web service). Now it's necessary to sync mobile DB with 2…
1
vote
3 answers

Rounding to 2 decimal places, without using banker's rounding

.NET and Compact Framework by default use banker's rounding which means that the value: 1,165 will be rounded to: 1,16. sql server as a opposite rounds it to 1,17 as for me it is the correct behaviour. Has anyone come across rounding topic and have…
John
  • 1,834
  • 5
  • 32
  • 60
1
vote
1 answer

FlashPlayer For .net Compact Framework 3.5

How to use flash player (axshockwaveflash) in dotnet compact framwork 3.5? I can add axshockwaveflash to the reference but i don't have UI for that. ShockwaveFlashObjects.ShockwaveFlash flash = new ShockwaveFlashObjects.ShockwaveFlash(); …
Amir
  • 782
  • 1
  • 9
  • 19
1
vote
1 answer

Passing array of values to SQL stored procedure in .net compact framework

Im working on a windows app (windows CE) and I need to send an array of ID's to stored procedure (Stored in SQL server 2012). Im working on .net compact framework 3.5 and C#. I checked the approaches like passing the list as XML attribute and table…
ashish g
  • 429
  • 1
  • 7
  • 16
1
vote
1 answer

Use reflection to get the Value property of System.Nullable on .Net Compact Framework

The code below runs fine on .Net 3.5: PropertyInfo propertyInfo = typeof(int?).GetProperty("Value"); int? i = 5; object o = propertyInfo.GetValue(i, null); After running, o is of type int and has the value 5. Which is OK. When I run the same code…
heijp06
  • 11,558
  • 1
  • 40
  • 60
1
vote
1 answer

Log exceptions and events in Windows mobile 6.5.3 CF 3.5

I am writing windows mobile (6.5.3) application on MC9190 device (CF 3.5). I want to log certain events (e.g. user login info) and any runtime exceptions occurred. How can I do that? I tried to use log4net from this example…
sjj
  • 25
  • 7
1
vote
1 answer

WM6.5 Connecting to SQL Server 2008: Should I leave connection open?

I have a mobile application that connects directly to an instance of SQL Server 2008. Normally, if this was was a desktop application I would wrap every database call in a using statement: using (SqlConnection sqlConnection = new…
JWrightII
  • 942
  • 11
  • 26
1
vote
2 answers

How to "catch" unhandled Exceptions

We've developed a .NET 3.5 CF Application and we're experiencing some application crashes due to unhandled exceptions, thrown in some lib code. The application terminates and the standard application popup exception message box is shown. Is there a…
Chris
  • 2,296
  • 4
  • 27
  • 46
1
vote
2 answers

C# Compact Framework editable grid control (DataGrid?)

I want a grid control where I can specify the columns and allow the user to edit cell values. Is there such a thing in CF3.5? I'd prefer a standard control provided with VS 2008 if possible but I'll use a third party one if I have to. I've tried…
cja
  • 9,512
  • 21
  • 75
  • 129
1
vote
0 answers

Reporting tool for .Net compact framework 3.5

I'm looking for a reporting tool for .NET compact Framework 3.5. I need a tool that would generate a pdf from a previously designed report. I found a topic where somone claimed they used fyireporting on mobile devices, but when i try to use Visual…