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
9
votes
3 answers

How to rebuild .net CF application and deploy in windows mobile emulator using command-line

Is there a ways to rebuild a c# .net CF application and deploy it in windows mobile emulator from the command-line? This is required to create a bat file for automation. I have taken a look at…
Vicky
  • 1,107
  • 2
  • 13
  • 25
7
votes
2 answers

Creating Object Instances Faster Than Reflection in Windows CE

So after looking at an article describing how to Create Object Instances Faster Than Reflection I got really excited since in my code I currently have quite a bit of reflection. Unfortunately DynamicMethod and ILGenerator are not supported in…
Ian Dallas
  • 12,451
  • 19
  • 58
  • 82
7
votes
1 answer

Drawing control with transparent background

I've been trying to display an image which has a transparent border as the background to a control. Unfortunately, the transparent area creates a hole in the parent form as follows: In the above image, the form has a red background which I'd hoped…
Wayne Phipps
  • 2,019
  • 6
  • 26
  • 31
6
votes
1 answer

Implement TLS 1.2 on .NET Compact Framework 3.5

I invested practically a whole working day in figuring out how to approach the task mentioned in the title best. Here is what I found out so far: There's at least one library that offers TLS 1.2 for .NET CF out of the box. The downside: they charge…
Marcel Dutt
  • 180
  • 2
  • 10
6
votes
2 answers

Windows Embedded Compact 7 - Do not automatically display on-screen keyboard

I have been building a .net application in c# for Windows CE. I had originally created it for a Motorola WT4090 which runs Windows CE 5. I have now got a Motorola WT41N0 that runs Windows Embedded Compact 7. When I run the application on the WT41N0…
Lief
  • 535
  • 3
  • 5
  • 14
5
votes
3 answers

Reboot Windows Mobile 6.x device programmatically using C#

My HTC HD2 can't be rebooted from OS, just shut down. So I want to write a small program to do that. Is it possible to programmatically reboot Windows Mobile 6.x device using C#?
abatishchev
  • 98,240
  • 88
  • 296
  • 433
5
votes
2 answers

Passing a Struct pointer (with char pointers in body) in C# via P/Ivoke

I have a .DLL file in C. The primary structure required by all functions in that DLL is of the following form. typedef struct { char *snsAccessID; char *snsSecretKey; char *snsPath; char *snsTopicName; …
Sanchayan Maity
  • 637
  • 6
  • 19
4
votes
1 answer

What cause WebException when consuming Web Service on Windows Mobile 6.5?

My application consume a web service but always receive the following expception on first try after the application is started: System.Net.WebException with inner exception System.InvalidOperationException and Could not evaluate expression message.…
chouputra
  • 91
  • 1
  • 7
4
votes
1 answer

TargetInvocationException: Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)

I get a TargetInvocationException randomly when loading Resources in my .NET Compact Framework 3.5 project (running on Windows Mobile 6). They look similar to this stack trace: FATAL 2012-11-13 14:17:00,657 [23768895] TargetInvocationException -…
Bob
  • 5,510
  • 9
  • 48
  • 80
3
votes
3 answers

How to debug a fatal error that happens after calling Application.Exit() in .NET CF 3.5 WinForms application for Windows CE 6?

I am porting a .NET CF 1.0 WinForms application (for older versions of Windows CE) to .NET CF 3.5 (for Windows CE 6). The problem is that, a few seconds after Application.Exit() is called, I get a flash of a "fatal error" message box, which simply…
Kal
  • 1,707
  • 15
  • 29
3
votes
9 answers

DateTime FormatException error

DateTime datuMDokumenta = Convert.ToDateTime(txtDatumDokum.Text); txtDatumDokum.Text is like "09.09.2011". but i get FormatException error. Must i parse date?
senzacionale
  • 20,448
  • 67
  • 204
  • 316
3
votes
1 answer

How to flag a default event for a user control in WinCE Compact Framework 3.5

so after so many years I'm still writing program for Wince in C# with .NET CF 3.5 and I have a custom control with self-defined events based on WinForm controls. I just don't seem to find the [DefaultEvent] attribute. I assume this can somehow be…
Lionet Chen
  • 832
  • 11
  • 26
3
votes
2 answers

Getting the version of an exe file without loading in .NET Compact Framework

I have a mobile application running on .NET Compact Framework 3.5 and an updater application running on the same platform. When user taps on the app shortcut, updater application runs first and checks if a new version of the main app. is available.…
Deniz Alpaslan
  • 167
  • 2
  • 16
3
votes
0 answers

Windows mobile 6.5 (c#.net cf 3.5) download file gets stuck on Stream Read

I have the following method which is used to download a file. It works fine, unless the internet connection drops during the download process. In that case, it gets stuck on the receiveStream's read (ie in len = receiveStream.Read(buffer, 0,…
unohoo
  • 378
  • 4
  • 14
3
votes
2 answers

NETCF 3.9 Released?

I was trying to open one of my old projects build with VS2008 and it has a class library targeted for Windows Mobile 6 devices (.NET Compact Framework 3.5). Since the good old VS2008, there is no support for mobile devices in VS, AFAK. Now i can…
d.popov
  • 4,175
  • 1
  • 36
  • 47
1
2 3
9 10