compact-framework Questions

15

Solved

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 of the NLog distribution ins...
Photoneutron asked 11/5, 2012 at 11:50

9

Solved

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/the form opens. This code, though: lblSelectedPrinter....
Hookup asked 2/8, 2013 at 16:50

6

Solved

I'm developing a smart device project using the Compact Framework. I have a ListView with several checkable ListViewItems: the property CheckBoxes is true. I need to check only one ListViewItem at...
Dysphemia asked 13/12, 2012 at 11:9

6

See subject, note that this question only applies to the .NET compact framework. This happens on the emulators that ship with Windows Mobile 6 Professional SDK as well as on my English HTC Touch Pr...
Cult asked 29/12, 2008 at 20:50

7

Solved

I tried to create a smart device project in Visual Studio 2008. Target Platform: Windows Mobile 5.0 Pocket PC SDK. .NET Compact Framework version: .NET Compact Framework 3.5 But I get the follo...

6

Solved

Combobox datasource has been assigned with cmbCombobox.DataSource = myCollection where myCollection has type MyCollection: List How can I clear items in combobox?
Tenaculum asked 17/1, 2013 at 10:6

5

Solved

is it possible to make beep in WinCE ? i try and i get an error
Haggar asked 24/1, 2009 at 16:40

3

Solved

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] args) { var x = Environment.GetR...
Blumenfeld asked 25/11, 2009 at 1:21

5

Solved

My application has an exe and uses some DLLs. I am writing all in C#. In one DLL I want to write a method to get the application name and version from the version information in the exe. I unders...
Needlecraft asked 12/2, 2013 at 9:51

3

Error when trying to display the form designer. See picture of the error: Code of the screen: public partial class frmCanalVenda : frmEdit { public frmCanalVenda(CanalVenda canal, Cliente cli...

2

Solved

I'm trying to save and load images with SQLite with an app on WinForm with CF. I found a way to save an image into the db but I don't know if it's right because I couldn't find a way to load the im...
Zorine asked 1/6, 2012 at 15:37

2

Solved

I used this code from here to try to call a REST Controller method on a Web API server app from a Compact Framework client: public static void SendXMLFile3(string uri, string data) { WebRequest r...
Lightish asked 8/9, 2014 at 17:59

3

Solved

I've migrated my database on my mobile device away from VistaDB because it's just too slow. I'm now using ProtoBuf instead to create a series of flat files on a Storage Card, the only issue is ther...

3

Solved

I have got a System.Drawing.Bitmap in my code. The width is fix, the height varies. What I want to do, is to add a white border around the bitmap, with about 20 pixel, to all 4 edges. How would ...
Anthropolatry asked 13/11, 2012 at 7:48

8

Solved

I have a ListView with a couple of items in it. When the ListView looses focus, the last selected ListViewItem is still "selected" with a gray background. I would like to achieve that on ListView.F...
Pinkiepinkish asked 17/8, 2011 at 7:28

10

Solved

I am using a list to limit the file size since the target is limited in disk and ram. This is what I am doing now but is there a more efficient way? readonly List<string> LogList = new List&...
Tag asked 1/8, 2011 at 20:59

6

Solved

I'm using compact framework/C# on windows mobile. In my application I am uploading data to the server by serializing objects and using a HttpWebRequest/POST request to send the information up. On ...
Doro asked 14/7, 2011 at 14:51

2

Solved

I have a interface: interface IProfile { ... } ...and a class: [Serializable] class Profile : IProfile { private Profile() { ... } //private to ensure only xmlserializer creates instances }...
Pongee asked 7/3, 2014 at 10:29

1

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...
Pumpkinseed asked 18/7, 2018 at 15:29

2

Solved

Can I use JSON.NET in Visual Studio 2008 with .NET 3.5 Compact Framework? And how can I install/Configure it in the IDE? I've searched the internet but could not find it. I found this NuGet Suppo...
Mckee asked 28/3, 2018 at 17:29

4

Solved

FieldInfo has an IsStatic member, but PropertyInfo doesn't. I assume I'm just overlooking what I need. Type type = someObject.GetType(); foreach (PropertyInfo pi in type.GetProperties()) { // u...
Delimitate asked 24/12, 2008 at 19:38

4

Solved

I need to move .NET code to the Compact Framework. That code uses HttpUtility.UrlEncode to encode query parameters, but System.Web isn't available on CF. What can I use instead?
Bills asked 25/5, 2009 at 19:30

3

Solved

How do I get the current directory from which my EXE is running? I have tried the following two codes but they don't work. Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase)...
Knitted asked 13/12, 2012 at 6:36

3

Solved

I have a Pocket PC 2003 solution, consisting of three projects, that was created in Visual Studio 2005. I open the solution in Visual Studio 2008 and two of the projects fail to convert due to erro...
Overwind asked 9/12, 2008 at 19:15

2

Solved

I have to develop an application for WinCE 5.0 which communicates/synchronizes data with a regular PC application which offers a webservice I can talk to with my mobile (industrial) device. Since ...

© 2022 - 2025 — McMap. All rights reserved.