compact-framework

Upload and download large files - Windows Mobile (Compact Framework) via Web Services (WCF, MTOM, WCE?)

断了今生、忘了曾经 提交于 2019-12-24 01:49:09
问题 I have searched quite a bit and can't seem to find a good stable solution, so any help will be appreciated. Here's the scenario: Windows Mobile device running client app on .NET CF 3.5 (OpenNETCF libraries being used) Web App on .NET 3.5 (Web server running IIS) Developing in VS2008, .NET 3.5 - all the latest I need to use web services or WCF or MTOM to transfer large files to and from the mobile device. (Prefferably chunked). I've found some great articles, but can't seem to get it working

SQL Server CE or Access for a portable database with c#?

夙愿已清 提交于 2019-12-24 00:58:45
问题 I'm developing an application which needs to store large amounts of data. I cannot use SQL Server Express edition since it requires separate installation and our target customers have already loaded us with complaints about our previous release with SQL Server express. Now my choices are between SQL Server compact and Access. We store huge amounts of reporting data (3 million a week). Which database can I use? The application is portable and a product based application. Our company is asking

Conversion from POJO to POCO

隐身守侯 提交于 2019-12-24 00:38:21
问题 I'm creating a Compact Framework 3.5 application, which is the client side of an older Java webapp. The communication protocol between both sides is REST+JSON. Serialization of the POJOs to JSON is not a matter since the POJOs already exist. But instead of rewriting from scratch a C# version of all the POJOs sources to be able to deserialize the JSON client-side, I would prefer a generation using some tools. Or at least, do the conversion manually with a "standardized" method. Do you know

.NET Compact Framework Can you get grids which have multi line text in cells?

别说谁变了你拦得住时间么 提交于 2019-12-23 18:50:06
问题 Is it possible to show multiple lines of text in grid cells using the .NET Compact framework? We need to create a grid where the middle column contains an address. We'd like to show this over multiple lines and (possibly) apply some formatting to the final line. e.g. 123 Anywhere Street Birmingham B1 2DU tel: 0123 555555 回答1: Take a look at Ilya Tumanov's example of custom formatting data in the DataGrid. He does custom painting of cells in it. 回答2: You must override "OnPaint" method on the

Version information missing from .NET assembly (Compact Framework 3.5/VS2008)

﹥>﹥吖頭↗ 提交于 2019-12-23 17:53:10
问题 I am building an executable using VS2008 and .NET compact framework 3.5, targetting Windows Mobile 6 professional, but whenever I compile the project, everything that I have specified in the AssemblyInfo.cs file is ignored. I have done this many times in other projects and it works without problem, but for some reason I cannot get the AssemblyTitle / AssemblyProduct / AssemblyVersion attributes etc to show up (I am trying to view them using Windows Explorer, I am able to see these properties

Zip And Unzip files and folders

走远了吗. 提交于 2019-12-23 15:22:06
问题 I need to zip and unzip the directory hirarchy in Windows Mobile using C++/C#. What is the simplest library available for it? I have googled many times. I found some stuff, but I am not able to go ahead with it. If you have implemented or if you know some stuff about it please let me know. 回答1: For .NET, SharpZipLib. See also: Zip library options for the Compact Framework? 回答2: DotNetZip is a .NET library, has a build for .NET CF. There's a .NET CF sample application delivered with the devkit

LinkLabel no underline - Compact Framework

痞子三分冷 提交于 2019-12-23 12:53:41
问题 I am developing a Windows CE app with Microsoft Compact Framework. I have to use a LinkLabel and it has to be white and no underline. So in the designer, I modified font color by white and unchecked "underline" in the font dialog. However, when I run the application, the font is still blue and underlined. Is there a way to remove the underline of a LinkLabel and change its color? 回答1: It wont be visible in the designer at Design-Time but will be correct in Runtime . Otherwise do it in Code

How can I make the AssemblyInfo version of a C# .NET CF program propagate to the Explorer Properties window?

我们两清 提交于 2019-12-23 12:41:20
问题 It seems like if you compile a Visual Studio solution and have a version # in your AssemblyInfo.cs file, that should propagate to say, the Windows Explorer properties dialog. This way, someone could simply right click on the *.exe and click 'properties' to see the version #. Is there a special setting in Visual Studio to make this happen? example picture http://content.screencast.com/users/Pincas/folders/Jing/media/40442efd-6d74-4d8a-8e77-c1e725e6c150/2008-09-24_0849.png Edit: I should have

Check only one ListViewItem at time

拜拜、爱过 提交于 2019-12-23 12:31:22
问题 I'm developing a smart device project using the Compact Framework. I have a ListView with several checkable ListViewItem s: the property CheckBoxes is true. I need to check only one ListViewItem at time, so I subscribed the ItemCheck event: // I need to know the last item checked private ListViewItem lastItemChecked; private void listView_ItemCheck(object sender, ItemCheckEventArgs e) { if (lastItemChecked != null && lastItemChecked.Checked) { /* I need to do the following to prevent infinite

Determine number of GDI handles and USER objects

夙愿已清 提交于 2019-12-23 10:14:20
问题 We developed a small test suite for our Windows Forms UI rendering engine which allows to measure performance and detect memory leaks while running test cases in an automated manner. Now we would like to check for handle leaks as well. On the desktop platform we can use this code: [DllImport("User32")] private extern static int GetGuiResources(IntPtr hProcess, int uiFlags); using (var process = Process.GetCurrentProcess()) { var gdiHandles = GetGuiResources(process.Handle, 0); var userHandles