windows-mobile-5.0

SQLServerCE SDF file on Windows 7

北战南征 提交于 2019-12-25 08:04:08
问题 I've have an application on Windows XP that takes an sdf file (SQLServerCE3.0) from a mobile device (Windows Mobile 5.0) import and delete some data and then put it back to the device. It has allways worked correctly. Now, when i do it on Windows 7 x64 the sdf file does some strange behaviour on the device when it goes back. When i do a join with strings, example: SELECT EMPRESA FROM EMPRESES E INNER JOIN VENDORS V ON V.EMPRESA_GUID = E.GUID where V.GUID='{XXX-XXX}' It doesn't return anything

Out of memory .NETCF Windows Mobile 5

你离开我真会死。 提交于 2019-12-24 03:04:24
问题 We have a .NETCF 3.5 app written in C# where we use some fairly large lists and dictionaries of objects, populated with data from a SQL Server and persisted to SQLCE databases on the device. The app was running very well until recently. The amount of data is such that we are getting Out of memory exceptions quite frequently. Using the Hibernate event, I have confirmed that the OS is indeed asking the app to free up resources (the Hibernate event gets fired constantly). The rub is that I

Associate a File To a Application

你说的曾经没有我的故事 提交于 2019-12-12 05:39:03
问题 I'm building two programs, a text editor and a zipper, but in this two programs I want to associate a file type to they, but how can I do this? Thanks. 回答1: You need to edit the registry: http://support.microsoft.com/kb/257592 You'll probably want to use regedit to see previous file associations, to make sure you don't mess up. c# registry basics 回答2: I know this is an old thread, but I don't think you should be messing around with the registry like that. Especially not since ClickOnce and

Tell the OS to reload the power timeout values from the registry

假装没事ソ 提交于 2019-12-12 04:31:05
问题 I have some code that I am using to update the amount of time the device will wait before going to sleep. I update the registry and then try to tell the OS to reload the value, but it is not working. (The reload part does not work. The registry updates fine.) I am going to post my code in the hopes that someone knows what I am doing wrong: // Change the amount of seconds that the OS will wait before it goes to sleep. public void ChangeBatteryTimeout(int timeoutInSeconds) { // Attempt to open

Compact Framework - OpenNetCf.Net FTP Samples?

删除回忆录丶 提交于 2019-12-09 04:55:17
问题 I am trying to get the OpenNetCF.Net FTP Components working with my PDA application. I am struggling to get it doing any more than connecting to the server and wondered if anyone knew of any sample code I could use to learn how to use it with? I need to be able to download and upload files, as well as determining the download size of any files that I wish to download. Thanks in advance. 回答1: I don't like the classes in the OpenNETCF.Net.FTP namespace (the ones in the Smart Device Framework).

Compact Framework - OpenNetCf.Net FTP Samples?

前提是你 提交于 2019-12-03 04:41:23
I am trying to get the OpenNetCF.Net FTP Components working with my PDA application. I am struggling to get it doing any more than connecting to the server and wondered if anyone knew of any sample code I could use to learn how to use it with? I need to be able to download and upload files, as well as determining the download size of any files that I wish to download. Thanks in advance. I don't like the classes in the OpenNETCF.Net.FTP namespace (the ones in the Smart Device Framework). They're based on streams just like the full framework version (which is why we did them that way) but I find

Making a TextBox Transparent [duplicate]

只谈情不闲聊 提交于 2019-11-28 08:22:33
问题 This question already has an answer here: Transparency for windows forms textbox 5 answers I have a TextBox in my Form that I want to let it be tranparent and show a picture that is in a PictureBox, behind it, but how I can do this? Thanks. 回答1: Not too complex, after some searching on StackOverflow, I found this answer. Basically, you need to subclass TextBox and in its constructor add the appropriate style. Final stpe, set its BackColor to Transparent. Hope it helps. 来源: https:/