tagged [compact-framework]
Retreving an image stored on SQl Server CE 3.1
Retreving an image stored on SQl Server CE 3.1 I'm developing a WinForm app for Windows Mobile 6.0 with C#, .NET Compact Framework 2.0 SP2 and SqlServer CE 3.1. I have this code that is not working: `...
- Modified
- 3 Nov at 09:58
C# Application.Run without Form
C# Application.Run without Form Is it possible to call Application.Run, but to not pass a form parameter, or is there an alternative if there’s no form to call? The Run method doesn’t seem to have any...
- Modified
- 19 Apr at 00:43
Allowing iteration without generating any garbage
Allowing iteration without generating any garbage I have the following code in an object pool that implements the IEnumerable interface. ``` public IEnumerable ActiveNodes { get { for (int i =...
- Modified
- 23 May at 12:2
NetCFSvcUtil "Error: An error occurred in the tool."
NetCFSvcUtil "Error: An error occurred in the tool." I am trying to generate a WCF proxy client code for a Windows mobile application that uses basicHttpBinding and I'm continuously receiving the foll...
- Modified
- 15 Jun at 07:37
Why does short-circuiting not prevent MissingMethodException related to unreachable branch of logical AND (&&)?
Why does short-circuiting not prevent MissingMethodException related to unreachable branch of logical AND (&&)? While performing a check if there's a camera present and enabled on my windows mobile un...
- Modified
- 25 Oct at 05:37
In C#, how can I serialize System.Exception? (.Net CF 2.0)
In C#, how can I serialize System.Exception? (.Net CF 2.0) I want to write an Exception to an MS Message Queue. When I attempt it I get an exception. So I tried simplifying it by using the XmlSerializ...
- Modified
- 19 Jan at 21:6
How can I programmatically select an item in a listbox?
How can I programmatically select an item in a listbox? I have a listbox displaying items from an enum. I want to select/highlight the current value (read from a database) when the listbox displays/th...
- Modified
- 23 May at 11:46
PBKDF2 in Bouncy Castle C#
PBKDF2 in Bouncy Castle C# I've being messing around the C# Bouncy Castle API to find how to do a PBKDF2 key derivation. I am really clueless right now. I tried reading through the Pkcs5S2ParametersGe...
- Modified
- 9 Jul at 14:50
Generics where T is class implementing interface
Generics where T is class implementing interface I have a interface: ...and a class: ...and a manager with method: ``` class ProfileManager { public T Load(string profileName) where T : class, IProfi...
- Modified
- 7 Mar at 12:12
Is ThreadPool worth it in this scenario?
Is ThreadPool worth it in this scenario? I have a thread that I fire off every time the user scans a barcode. Most of the time it is a fairly short running thread. But sometimes it can take a very lon...
- Modified
- 3 Dec at 17:36
Where does the file Microsoft.CompactFramework.VisualBasic.targets come from?
Where does the file Microsoft.CompactFramework.VisualBasic.targets come from? I have a Pocket PC 2003 solution, consisting of three projects, that was created in Visual Studio 2005. I open the solutio...
- Modified
- 9 Dec at 19:15
Windows Mobile, file associations and command lines
Windows Mobile, file associations and command lines I've created a Windows Mobile application that opens, edits and closes a data file format. There're a couple of features I'd like to implemenet but ...
- Modified
- 23 May at 12:4
Milliseconds in DateTime.Now on .NET Compact Framework always zero?
Milliseconds in DateTime.Now on .NET Compact Framework always zero? i want to have a for logs on a . The accuracy must be in the range a hundred milliseconds at least. However my call to `DateTime.Now...
- Modified
- 9 Apr at 13:56
Windows Mobile - Attach on call starting and recording a call
Windows Mobile - Attach on call starting and recording a call I need to implement a small feature in my project for windows mobile 6.0+ platform. I want to attach to an event when a phone call is answ...
- Modified
- 23 May at 12:11
Reading from the serial port in C#
Reading from the serial port in C# I have tried using Readline() and data gets dropped, I tried using Read() but I am not sure how to have an error proof method of doing it, since I may get several pa...
- Modified
- 16 Mar at 20:52
NLog does not create a log file
NLog does not create a log file I am trying to add logging to an application running on mobile device with Windows Mobile 6.1. � .NET Compact framework 3.5. using NLog. I have the appropriate version ...
- Modified
- 21 Jun at 09:9
Uri.EscapeDataString() - Invalid URI: The Uri string is too long
Uri.EscapeDataString() - Invalid URI: The Uri string is too long I'm using compact framework/C# on windows mobile. In my application I am uploading data to the server by serializing objects and using ...
- Modified
- 13 Feb at 09:25
Center text output from Graphics.DrawString()
Center text output from Graphics.DrawString() I'm using the .NETCF (Windows Mobile) `Graphics` class and the `DrawString()` method to render a single character to the screen. The problem is that I can...
- Modified
- 20 Jan at 13:53
Calling external gps app from VB.NET in CF 3.5 and returning back to VB.NET app
Calling external gps app from VB.NET in CF 3.5 and returning back to VB.NET app I'm writing an app in VB.NET that allows the user to call Garmin Mobile XT to get a route. I've got a form that stays op...
- Modified
- 5 May at 08:14
ServiceStack on server and .NET Compact Framework client
ServiceStack on server and .NET Compact Framework client I created my server and clients (MonoDroid and Windows) with ServiceStack, everything works very well, but now I need to consume the data from ...
- Modified
- 29 Nov at 10:29
Read typed objects from XML using known XSD
Read typed objects from XML using known XSD I have the following (as an example) XML file and XSD. and ``` version="1.0" encoding="utf-8"?>
- Modified
- 19 Feb at 18:25
How to run a function on a background thread for Windows Phone 7?
How to run a function on a background thread for Windows Phone 7? I'm using MVVM Light to build a WP7 (Windows Phone 7) application. I wish to have all the work performed by the Model to be run on a b...
- Modified
- 20 Jul at 19:44
How to reduce the size of an image in C# and .NET 3.5?
How to reduce the size of an image in C# and .NET 3.5? I have a screen shot I take in my mobile app. The screen shot takes about 32 KB when saved as a png on a disk. I am sending these to a central SQ...
- Modified
- 7 Oct at 20:45
Serial Port ReadLine vs ReadExisting or how to read the data from serial port properly
Serial Port ReadLine vs ReadExisting or how to read the data from serial port properly I am reading data from serial port. The data comes off the scale. I am now using `Readline()` and getting data dr...
- Modified
- 7 Dec at 09:24
Partly crashing application? How can I catch uncatchable exceptions?
Partly crashing application? How can I catch uncatchable exceptions? I have a program written in C#, running on a Windows CE device (on Compact Framework). It processes minimal user actions (button cl...
- Modified
- 12 Aug at 11:25