compact-framework

Unable to load DLL 'coredll.dll': The specified module could not be found. (On Windows XP)

我怕爱的太早我们不能终老 提交于 2019-12-06 04:29:25
问题 Thanks to the gurus at StackOverflow. You guys are awesome. I posted on question on detecting idle time on a Compact framework application and got answers very quickly. When I tried the suggested solution on my Windows XP development box, I get this error Unable to load DLL 'coredll.dll': The specified module could not be found. (On Windows XP) After googling for sometime I understood that OpenNETCF libraries are trying to launch coredll.dll to detect the idle time but this dll is shiped with

Windows Mobile - 2 Way Call Recording (C#)

喜夏-厌秋 提交于 2019-12-06 04:23:58
I need to implement 2 way (caller and receiver) call recording on Windows Mobile. I have gone through many forums and articles saying that it's hardware limitation and is not possible on all phones. I have downloaded one application from http://www.resco.net/pocketpc/audiorecorder/ which is running perfect on my phone and has 2 way recording capability. Is there any possibility of implementing same using .NET CF 2.0 (managed or unmanaged. although, managed is prefered.). EDIT: I found this sample , but not able to give the length of recording dynamically. I need to start when the call is

Define custom design time editor in a usercontrol (e.g. multiline text) in compact framework 3.5

不问归期 提交于 2019-12-06 03:44:42
In .NET I would just write [Editor(typeof(System.ComponentModel.Design.MultilineStringEditor), typeof(System.Drawing.Design.UITypeEditor))] public string MultiLineText { get; set; } to get the multiline editor for a string property. However, in Compact Framework this is not possible because System.ComponentModel is not included. I already have a DesigntimeAttributes.xmta file and I suppose I have to define it here but I can't find an example on how to achive this. The following xmta entry does the trick on my VS2008: <Property Name="MultiLineText"> <Browsable>true</Browsable> <Editor>

Automatically updating Compact Framework application code

跟風遠走 提交于 2019-12-06 03:33:02
问题 I've built a Compact Framework application to be used by delivery drivers. This runs on a SQL CE database and connects to a WCF service on a web server. I need a way to update the system when I release new versions. I'm hoping that I can install a new version of the WCF code in a new folder on the web server and then somehow trigger the mobile devices to update the local CF application and also connect to the new WCF service URL. So far I've found 2 frameworks: WmAutoUpdate http://github.com

Rhino Mocks & Compact Framework

拜拜、爱过 提交于 2019-12-06 03:10:48
问题 I've been experimenting with Rhino Mocks for unit testing my .Net Compact Framework application, and have hit a problem. I can get a basic unit test using Rhino Mocks built, but every time I run the test that has the Rhino Mocks code in it, the test fails because it can't find the Rhino Mocks assembly. System.TypeLoadException: Could not load type 'Rhino.Mocks.MockRepository' from assembly 'Rhino.Mocks... I've copied the rhino mocks dll to various places on the device (my app folder, and the

Handling Different Resolutions in Visual Studio 2008 for .NET CF

淺唱寂寞╮ 提交于 2019-12-06 02:56:47
问题 I am developing a .NET CF based Graphics Application, my project involves a lot of drawing images, We have decided to go for porting the application on different handset resolution.(240 X 240 , 480 X 640) etc. How would i go onto achieve this within single solution/project? Is there a need to create different projects based on resolutions? How would i handle common files? and i need the changes in one of the common classes to occur across all devices. Thank you, Cronos 回答1: Don't listen to

Does Funq IoC Container support property injection?

*爱你&永不变心* 提交于 2019-12-06 02:05:34
问题 I'm looking for an IoC container to use in my Compact Framework application. Trying out Funq I noticed that I can't find a way to do Property Injection with it. I've looked through the discussion on the project's site and the unit tests for it, but I can't find any example of Property Injection. Does Funq support Property Injection? 回答1: Well wouldn't that generally go something like this? myContainer.Register<IUserRepository>(() => { var myRepository = new SomeUserRepository(); myRepository

Updates to .NET Compact Framework in 2010?

拟墨画扇 提交于 2019-12-05 22:54:12
问题 This question (.net Compact Framework 4.0) asked this back before the release of VS 2010. The answer basically said to wait for the release. Now that the release is here, does anyone know? Is there an upgrade/update to the .NETCF? something past .NETCF 3.5? Update: You can go here and vote to have Microsoft add this feature. LATER UPDATE: MS has more or less abandoned existing feature requests in Connect. Please go to the new User Voice site to vote for this feature. 回答1: It is no longer

How to make compact framework custom controls AutoScale aware

蹲街弑〆低调 提交于 2019-12-05 20:12:32
Windows Forms (including Windows Forms for Compact Framwork, which is what I am using) has an AutoScale feature . By setting the AutoScaleMode property to AutoScaleMode.Dpi , your application designed for, say, 320x200 automatically scales to the larger display of, for example, a VGA device. This works great, but I have a few self-made custom controls that do their own OnPaint stuff, and I'd like them to scale as well. Unfortunately, I've not found good documentation or an example on how to do that. Currently, I'm doing this: protected SizeF zoom = new SizeF(1.0, 1.0); protected override void

Zip library options for the Compact Framework?

眉间皱痕 提交于 2019-12-05 19:03:42
问题 My requirements: Support .NET Compact Framework 2.0 and Windows Mobile 6.0 devices. Only need to unzip the contents to a directory on a storage card. Creation of zip files is not required. Must be able to use in corporate/commercial software. Can be open source, but not have GPL or other viral license. I've seen the Xceed Zip for CF library. What other options are there? 回答1: Have a look at #ziplib (www.icsharpcode.com). It's GPL, but you can use it in closed-source, commercial applications.