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
3
votes
1 answer

InvalidOperationException when trying to assign an XmlElementAttribute to a custom IXmlSerializable object under .NET CF

Let's assume we have some code similar to this: [XmlRoot("class-a")] public class ClassA { [XmlElement("variable")] // without this everything works fine public ClassB Variable; public ClassA() { new…
Alec Mev
  • 4,663
  • 4
  • 30
  • 44
2
votes
1 answer

"Request timed out" when makinng two HttpWebRequests to the same Java server from C# over .NET Compact

I have a client application running on C# on a .NETCF 3.5 device POSTing to a Java servlet located remotely. I am receiving a "Request Timed out" during my third HTTP POST to the same servlet. For example, if the servlet manages login to our Java…
Rishi
  • 321
  • 2
  • 6
  • 17
2
votes
1 answer

Windows CE ActiveSync TCP connection

I have a .NET compact framework program that has my CE device open a socket to my PC over the USB cable's ActiveSync connection. Everything works fine, except when I'm trying to use a laptop that isn't connected to a network. Then the CE device…
chezy525
  • 4,025
  • 6
  • 28
  • 41
2
votes
2 answers

How to create win32 smartpone dll and call by C# DllImport in WinCE

I need to implement a Win32 DLL and need call it by C# DllImport in WinCE. So I create a Win32 Smart Device Project and choice Windows Mobile 5.0 Smartphone SDK, and create a dll project with Export symbols option. Then I add extern "C" key word…
Cloud Hsu
  • 23
  • 6
2
votes
1 answer

Out of memory .NETCF Windows Mobile 5

We have a .NETCF 3.5 app written in C# where we use some fairly large lists and dictionaries of objects, populated with data from a SQL Server and persisted to SQLCE databases on the device. The app was running very well until recently. The…
Laban
  • 21
  • 1
2
votes
2 answers

Deploy an CF application to a Windows Mobile Device (with config file)

I have an application, built on CF3.5 and I’m trying to work out how to deploy this to the device. I’ve created a deployment project, and that deploys the software fine. However, the project has an app.config file to hold some running parameters.…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
2
votes
1 answer

OnRead event from scanner (Motorla EMDK) fires continuously

(I'm using VS2008 with EMDK v2.9 with Fix1) I have a form, where I declare my reader: Private WithEvents barcodeReader As Barcode.Barcode = New Barcode.Barcode I want it to be active only in one of the controls on the form, so I do this: Private…
2
votes
3 answers

StringSplitOptions does not exists in the context

I am running my code in .NetCF and this line is showing error as StringSplitOptions does not exists in the context. Please help what I am doing wrong. string[] values = headerData.Split(new string[] { "<#Tag(", ")>"}, …
Parth Desai
  • 209
  • 2
  • 4
  • 19
2
votes
1 answer

ApplicationException at System.Threading.EventWaitHandle..ctor in .NET CF 3.5

I have a .NET CF 3.5 application that runs on Motorola WT41N0 (Windows CE 7). Sometimes it gets the following exception: System.ApplicationException: ApplicationException at System.Threading.EventWaitHandle..ctor(Boolean initialState,…
Lief
  • 535
  • 3
  • 5
  • 14
2
votes
1 answer

What is the effect of calling Application.DoEvents() on a background thread?

Just as the question asks: What does Application.DoEvents() do when called on a background thread? To give some context, I'm reviewing a rather complex solution written (not by me) for the .NET CF in C#. The reason I'm reviewing it is that it has…
pdriegen
  • 2,019
  • 1
  • 13
  • 19
2
votes
1 answer

How to use UnmanagedFunctionPointerAttribute in .NET CF 3.5

Wondering whether or not anyone has managed to use this in a .NET CF 3.5 program. I'm getting the error: "The type or namespace name 'UnmanagedFunctionPointerAttribute' could not be found (are you missing a using directive or an assembly…
Patrick_92
  • 99
  • 6
2
votes
0 answers

Windows CE Form Size Properties Not Updating After Maximize

I am developing a full screen Windows CE application in C#. Once I set the WindowState to Maximized the Height and Width properties of the form remain unchanged as does the ClientRectangle and ClientSize property. The properties will not update…
Lief
  • 535
  • 3
  • 5
  • 14
2
votes
2 answers

MissingMethodException for Func`2<> on WinCE although Func`2 depending code was already executed

I am working on a C# code running on .NETCF 3.5 on WindowsCE 6.0 that is throwing MissingMethodExceptions for Func`2<> during runtime. The code parts where the exception occurs is random. The weird thing is, this happens when you already use the…
cpt. jazz
  • 1,336
  • 12
  • 21
2
votes
1 answer

ProcessStartInfo.RedirectOutput on .net compact framework

I would like to start an external process on the device and would like to capture its output. All the googling showed ProcessStartInfo.RedirectOutput - but it seems like this option is missing in .net compact framework. Any ideas how this could be…
bernhardrusch
  • 11,670
  • 12
  • 48
  • 59
2
votes
1 answer

log4net with SQL Server CE don't save data to table

Edit 2 What I have found out now is very strange. When I turn on unmanaged exception in Visual studio i get an format exception when trying log4net.Config.XmlConfigurator.Configure(new System.Uri(config)); I have added some parameters to my insert…
1
2
3
9 10