windows-mobile

How to hide my SmartDevice application on startup?

笑着哭i 提交于 2019-12-20 03:38:10
问题 I made a SmartDevice application that runs on startup and I want it to be hidden at first launch. I've tried this.Hide() , this.Visible = false and ShowWindow(Handle, SW_HIDE) in Form Load() event and InitializeComponent() with no luck. Any help will be appreciated. 回答1: The CF automatically calls Show on the Form passed to Application.Run. There is no avoiding that without avoiding the call to Application.Run. The SDF has an Application2.Run that takes a parameter to tell it to not show the

Why is WMDC/ActiveSync so flaky?

笑着哭i 提交于 2019-12-20 02:33:05
问题 I'm developing a Windows Mobile app using the .NET Compact Framework 3.5 and VS2008, and for debugging using the Device Emulator V3, on Win7, and seem to have constant problems with Windows Mobile Device Centre (6.1) connecting. Using the Emulator Manager (9.0.21022.8) I cradle the device using DMA in WMDC. The problem is it's so flaky at actually connecting that it's becoming a pain. I find that when I turn my computer on, before I can get it to connect I have to open up WMDC, disable

Windows Mobile 6 Standard SDK Refresh install issue on Visual Studio 2010 Professional Beta 2

瘦欲@ 提交于 2019-12-19 19:48:55
问题 When I install the Windows Mobile 6 Standard SDK Refresh I get the error: Not Installed: Visual Studio 2005 SP1 or Later I have Visual Studio 2010 Professional Beta 2 installed. Please can you tell me how I can resolve this? 回答1: Install Visual Studio 2008, smart device development is not yet supported in VS2010 (well it definitely wasn't supported in beta 1, and I have seen anything contrary so far for beta 2) VS2008 and VS2010 will co-exist on the same machine. 回答2: I don't know if there's

To close or not to close connection in database

别说谁变了你拦得住时间么 提交于 2019-12-19 15:58:21
问题 I work with Windows-Mobile and Windows-CE using SqlCE and I dont know what better to do. To open connection when the program open, run any query's... update...delete database and close the connection after the program close? Or open connection run any query's..update...delete database and close the connection immediately? 回答1: Nice. The answers are all over the place. Here's what I know from experience and interacting with the SQL Compact team: Closing the connection flushes the changes you

Fullscreen application WM6 C#

人走茶凉 提交于 2019-12-19 09:07:00
问题 Can anyone point me in the direction of how to create a full screen application in C# for Windows Mobile 6? I'm trying to achieve a similar display to applications such as Tom Tom where all the OS elements such as the Start/Task bar are hidden and my application completely fills the screen. I'm using VS 2008 with .Net 3.5 Thanks in advance! OneSHOT 回答1: I don't know if it's any different in WM6, but in WM2003 I was able to "hide" the taskbar etc by simply setting WindowState to Maximized on

CordovaStarter-x.x.x.zip not found with phonegap for windows mobile

一曲冷凌霜 提交于 2019-12-19 08:18:53
问题 I was going through the getting started guide for windows phone in phonegap ( cordova ) and I completed Download and install Windows Phone SDK Download the latest copy of Cordova and extract its contents The next step is * copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates* I could not find the zip file with cordova, which I downloaded. Could anyone please help me out. 回答1: CordovaStarter-x.x.x.zip is a template , to start with

CordovaStarter-x.x.x.zip not found with phonegap for windows mobile

僤鯓⒐⒋嵵緔 提交于 2019-12-19 08:18:05
问题 I was going through the getting started guide for windows phone in phonegap ( cordova ) and I completed Download and install Windows Phone SDK Download the latest copy of Cordova and extract its contents The next step is * copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates* I could not find the zip file with cordova, which I downloaded. Could anyone please help me out. 回答1: CordovaStarter-x.x.x.zip is a template , to start with

Are there any good programming environments/IDEs for Windows Mobile devices?

一个人想着一个人 提交于 2019-12-19 03:31:31
问题 By this, I don't mean PC-based development environments (like Visual Studio) for developing and deploying Windows Mobile applications. Rather, I mean an IDE that runs on Windows Mobile devices and lets you write and test code there. 回答1: Over the past year or so I have been searching regularly for new developer tools for use on Windows Mobile based devices and have come across many. I currently have installed on my device PythonCE, eTcl, dsForth, PocketLogo (The documents which comes with it

Reboot Windows Mobile 6.x device programmatically using C#

若如初见. 提交于 2019-12-19 03:19:01
问题 My HTC HD2 can't be rebooted from OS, just shut down. So I want to write a small program to do that. Is it possible to programmatically reboot Windows Mobile 6.x device using C#? 回答1: You should use the documented ExitWindowsEx API. IOCTL should only be used on platforms lacking the ExitWindowsEx function call (Pocket PC 2000, 2002, and 2003). See the MSDN doc for more information. [DllImport("aygshell.dll", SetLastError=""true"")] [return: MarshalAs(UnmanagedType.Bool)] static extern bool

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