windows-ce

WinCE - Unable to start debugging

ぃ、小莉子 提交于 2020-01-04 04:58:20
问题 Using a WinCE C# Forms app .NET3.5 on device link I can deploy fine and run the forms application. I can use the Windows CE Test Kit link which automatically deploys itself to the device and it runs the tests. Problem: Debugging wont start. It locks up VS2008. It seems to deploy the app fine, then hangs. Eventually comes up with "Unable to start debugging" I cannot use SOTI link as it fails to deploy itself to the device 回答1: The fact that CETK works is a red herring. It uses a different

How to convert an excel file to .csv file?

可紊 提交于 2020-01-03 17:52:14
问题 I'm developping an application for Honeywell Dolphin 6100, a mobile computer with a barcode scanner that uses Windows CE 5.0 like OS. I want to create a little application responsible of the convertion of an excel file to .csv file. Is it possible in Win CE ? if so, any help on it ? thank you in advance !! Note : I'm using VS2008 and I'm working on Windows 7. 回答1: You can do this by using saveas() method in Excel: wbexceltocsv.SaveAs("c:\Filename.csv", Microsoft.Office.Interop.Excel

What is the right way to invoke a button's click event?

扶醉桌前 提交于 2020-01-03 05:14:23
问题 Here: http://msdn.microsoft.com/en-us/library/hkkb40tf(v=VS.90).aspx, it says that, to call a button's click event from another button, you can/should do it this way: button1.PerformClick(); However, in my situation (VS 2003. NET 1.1), this doesn't compile (admittedly, the link above specifies VS 2008, but it does not have a link to the pertinent info for prior versions, as msdn often does). This compiles: private void btnPrint_Click(object sender, System.EventArgs args) { if (this

How to launch an external application on BN_CLICKED?

落花浮王杯 提交于 2020-01-02 21:53:11
问题 I'm fairly new to Windows programming. I'm doing a simple launcher app for WinCE using VC++ (not MFC). So far I've created the basic interface and buttons and stuff. I just wanted to know the best way to launch an external application when the user clicks the button (on BN_CLICKED). I found some methods such as ShellExecute, CreateProcess and others. But I couldn't get it to work (yet?). Any suitable reference or simple example on this? 回答1: The question don't matter that it happens inside

Task manager on windows 6.0 ce for Motorola MC3190 Handheld Computer

╄→尐↘猪︶ㄣ 提交于 2020-01-02 09:41:26
问题 I try to find out why web page cause memory leak on motolora MC3190. Barcode scanners are new with windows 6.0 CE. there are no programs instaled only default. We use it only IE. When we use it for two weeks on scanner memory ran out and it crashed. after full restart works normaly, restarting only Internet explorer doesn t help. only internet exporer is used. I try to find some program like task manager to find out if IE has memory leak. Because win 6.0 doesn t have task manager. any idea

Task manager on windows 6.0 ce for Motorola MC3190 Handheld Computer

人走茶凉 提交于 2020-01-02 09:39:10
问题 I try to find out why web page cause memory leak on motolora MC3190. Barcode scanners are new with windows 6.0 CE. there are no programs instaled only default. We use it only IE. When we use it for two weeks on scanner memory ran out and it crashed. after full restart works normaly, restarting only Internet explorer doesn t help. only internet exporer is used. I try to find some program like task manager to find out if IE has memory leak. Because win 6.0 doesn t have task manager. any idea

Disable CE windows animation, programmatically?

☆樱花仙子☆ 提交于 2020-01-02 05:33:42
问题 Here is how to do it with a registry key. * Go to HKEY_LOCAL_MACHINE\SYSTEM\GWE * Create a DWORD named Animate if it does not already exist * Edit the DWORD value named Animate * 0 - Disables Window Animation 1 - Enables Window Animation However, it needs restart of the device. I would like to know if there is anyway to disable it instantly, programmatically? 回答1: Take a look at SystemParametersInfo. There is no animation setting, but maybe if you notify GWES of a different change it will

Anti aliasing DrawLine on CE

心不动则不痛 提交于 2020-01-01 06:28:27
问题 I am drawing a line to a Graphics object in Windows CE using C#.NET 3.5. The code I am using looks like this: e.Graphics.DrawLine(new Pen(Color.FromArgb(11, 118, 200), 2), x1, y1, x2, y2); This works however looks terrible due to jaggies etc. Is there anyway I can draw anti aliased lines? From what I can tell the Graphics object doesn't support this natively but is there anyway to "cheat" this effect using some trickery? 回答1: A fast trick if you're drawing on a solid color background, you can

Remote Control WinCE 6.0 device from Windows 7

一笑奈何 提交于 2020-01-01 04:56:08
问题 I am trying to find out a tool to remote control a Motorola MC3190 device running Windows CE 6.0 from a Windows 7 machine. I have already used Mymobiler with Intermec CN3 device so I tried the answers in this question but I am unable to get it to work. I have tried both remote.exe.40 and remote.exe.50 in the Mymobiler folder Using Task Manager on CodeProject mentioned in a question on superuser it seems remote.exe completes execution very quickly (or is crashing silently). My Start/Programs

CE 6.0 / .NET CF 3.5 Application has encountered a serious error (MC3100)

风格不统一 提交于 2020-01-01 03:10:11
问题 When exiting my .NET CF 3.5 application on the Motorola MC3100 (CE 6.0 version only) I get the error message "Application xxx has encountered a serious error and needs to shut down". I then need to warm boot the device for the application to work again. This code works fine until the application is shutdown and it only fails if a font is set on a control in the application. Everything also works fine on .NET CF 2.0 and all of the other Motorola, Intermec, Psion, HHC devices I have tried with