pocketpc

How to disable beep in C# for Symbol PPT2800 barcode scanner?

自古美人都是妖i 提交于 2020-01-17 01:41:09
问题 I'm developing an application in C# for symbol PPT2800 barcode scanner. I'm almost done but there is one last thing I need, I want the scanner to disable the beep if the ean code was not found and make a different sound. I've been tearing my hair over this but I cant get it to work, could someone help me? 回答1: You need to either find the Symbol SDK (I think Motorola bought them out) or go into the Settings for the Scanner and turn the audible beep option OFF. If you want to use the SDK,

How to obtain a Motorola (Symbol) Mobile Device Serial Number?

主宰稳场 提交于 2020-01-04 03:14:11
问题 How to obtain a Motorola (Symbol) Mobile Device Serial Number? I'm programming the Motorola ES400 which comes with "Symbol" libraries. There seems to be ways of getting the serial numbers of the various scanners, but not of the actual device itself! Anyone got any ideas? Whats the difference between "serial number" (as shown on the device) and "electronic serial number" returned by TerminalInfo? 回答1: I just dealt with this on the MC9090 device, which also uses the Symbol libraries (not sure

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

Exception after upgrading .net compact framework version

十年热恋 提交于 2019-12-31 07:25:07
问题 I have upgraded my project from .NET 2.0 to .NET 3.5 through visual studio Project-> Upgrade Project . After upgrade when i compile the project i got the error 'The type 'System.Windows.Forms.DataGridTableStyle' exists in both 'c:\Users\VijayVignesh\Desktop\AGMobile4\Dll\Other\System.Windows.Forms.DataGrid.dll' and 'c:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.Windows.Forms.dll''. Typically two dlls are refernced in my project System.Windows.Forms.dll and

System.ArgumentException occurred

只谈情不闲聊 提交于 2019-12-25 01:48:38
问题 I'm getting a strange behavior. This is the code: ... private Object lockobj = new Object(); private Dictionary<String, BasicTagBean> toVerifyTags = null; public void verifyTags(List<BasicTagBean> tags) { System.Diagnostics.Debug.WriteLine("Thread ID: " + Thread.CurrentThread.ManagedThreadId); lock (lockobj) { foreach (BasicTagBean tag in tags) { if (!alreadyVerified.ContainsKey(tag.EPC)) { toVerifyTags.Add(tag.EPC, tag); } } } ... Sometimes I got this exception 'System.ArgumentException'

Pocket PC/Windows Mobile: How to detect smart minimize

徘徊边缘 提交于 2019-12-18 16:27:22
问题 How do I detect when my Compact Framework application is being smart-minimized (smart minimize is what happens when the user clicks the "X" button in the top-right corner on a Pocket PC)? The Deactivate event isn't the right way because it occurs in circumstances other than minimization, such as when a message box or another form is shown on top of the main form. And the form's WindowState doesn't help because there is no "Minimized" WindowState on .NET CF. I heard that by setting MinimizeBox

Detecting when a Pocket PC is docked in a cradle in Windows Mobile 2003

断了今生、忘了曾经 提交于 2019-12-12 01:36:54
问题 Is is possible to detect when a Pocket Pc device is docked in it's cradle in Windows Mobile 2003 using C#. I want it to call a web-service when the device is put back on charge. 回答1: What about this guys answer. http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/d7e6d896-ff0b-4bb8-969d-3ff516db6782 OpennetCF provide a way to monitor activesync connection status. Like the code below: private void connectAsync_Click(object sender, System.EventArgs e) { m_rapi

Designing a “Landscape application” for a Pocket PC

梦想与她 提交于 2019-12-11 12:26:57
问题 I would like to create an app for a pocket pc. One of the features is that the user should rotate the pocket pc 90 degrees counterclockwise to opearate normally the app How can someone design a "counterclockwise rotated" application with Visual studio? Is there any option in VS that i am missing? 回答1: In your project, add a reference to Microsoft.WindowsCE.Forms. Next, add a form and make it 320 (w) x 240 (h). Add "using Microsoft.WindowsCE.Forms;" to the top of your Program.cs file. In your

Edit Registry Values

戏子无情 提交于 2019-12-11 01:07:28
问题 I want to change the registry values on the pocketPC. I ran the following code: if(enabled) { dwData = 120; } if(RegSetValueEx(HKEY_LOCAL_MACHINE, _T("System\\CurrentControlSet\\Control\\Power\\Timeouts\\BattSuspendTimeout"), 0, REG_DWORD, (LPBYTE)&dwData, sizeof(DWORD))) { return FALSE; } but it doesn't shange the registry entry. Does anyone know how to set registry key values with c++? Thanks! 回答1: There are a two problems with what you are doing: 1: RegSetValueEx does not take a path, only

how to show/hide SIP on Pocket PC

南楼画角 提交于 2019-12-10 10:25:18
问题 I have the following problem: I open the dialog, open the SIP keyboard to fill the form and then minimize the SIP. Then when I close the current dialog and return to the main dialog the SIP keyboard appears again. Does anyone know how could I show/hide SIP keyboard programatically or better what could be done to solve the described problem. Once the user minimizes the keyboard it should not appear on the screen on dialog switching. Thanks! 回答1: We use SHSipPreference to control the display of