博客园  :: 首页  :: 管理

随笔分类 -  Windows Mobile

摘要:Brief DescriptionMicrosoft SQL Server 2005 Mobile Edition (SQL Server Mobile) is the compact database for rapidly developing applications in both native mode and the .NET Compact Framework that extend... 阅读全文

posted @ 2007-04-12 17:34 Paker Liu 阅读(912) 评论(0) 推荐(0) 编辑

摘要:原本用的AS的版本是4.1。在运行带有Replication功能的测试用例都是正常,sdf数据库文件都能同步更新数据。但自从安装了AS 4.5时,问题就出现了(在安装升级的中间,我还进行了其他操作,但总体来说不会影响,为了逻辑的严密,我还是在文章的标题里加上了“可能”)。当我再次使用Replication 的同步操作时,一直会捕获异常。 阅读全文

posted @ 2007-04-10 08:45 Paker Liu 阅读(6186) 评论(7) 推荐(0) 编辑

摘要:加上昨天晚上都在研究合并复制的配置。我需要的环境是这样的,服务器端的数据库采用SQL Server 2000.PPC客户端采用的精简数据库是Sql Server Mobile Edition。时下大多采用的数据库配合方式基本上是sql server 2005和Sql Server Mobile Edition。其实,我也想这样采用。但是考虑到原有的数据库系统是采用2000的版本,很难让原来的研发人... 阅读全文

posted @ 2007-04-07 19:19 Paker Liu 阅读(3572) 评论(1) 推荐(0) 编辑

摘要:SQL Server Mobile System Requirements Environment Requirements Development Environment • Microsoft Visual Studio 2005 • One of the following operating systems: Microsoft Windows Server 200... 阅读全文

posted @ 2007-04-07 00:32 Paker Liu 阅读(566) 评论(0) 推荐(0) 编辑

摘要:最近PPC一直有毛病,无法有效的链接同步软件,也想过很多办法.几乎要到想刷rom的地步. 最可笑的是也想到放电来回复出厂设置.但是后来才反应过来,WM5下放电是恢复不了数据的. 今天可以说是柳暗花明又一村.就在我要放弃的时候,查到了以下的消息.原来一切就那么简单而已. 阅读全文

posted @ 2007-04-06 09:02 Paker Liu 阅读(1153) 评论(0) 推荐(0) 编辑

摘要:The .NET Micro Framework SDK integrates into the Visual Studio environment, supporting C# development with productivity-boosting features such as on-device debugging, object browsing, IntelliSense, and integrated build and deployment. 阅读全文

posted @ 2007-04-04 08:50 Paker Liu 阅读(398) 评论(0) 推荐(0) 编辑

摘要:This is the v2 release of the Device Emulator, that updates the V1 emulator that released in conjunction with Visual Studio 2005. 阅读全文

posted @ 2007-03-15 01:30 Paker Liu 阅读(1699) 评论(0) 推荐(0) 编辑

摘要:使用的操作系统是 Windows Moible 2003 SE,在这个版本的操作系统上,不能使用System.Diagnostics.Process.start()运行程序 阅读全文

posted @ 2007-03-13 00:08 Paker Liu 阅读(1465) 评论(1) 推荐(0) 编辑

摘要:Pocket PC 2003 sdk 和 Window mobile 5.0 sdk还没有很好的熟悉,Window Mobile 6.0 SDK就出世了.技术更新地也太快了. 阅读全文

posted @ 2007-03-10 23:19 Paker Liu 阅读(732) 评论(0) 推荐(0) 编辑

摘要:最近,公司准备开发一项PPC上的应用.主要是原有系统的一个升级扩展功能.大体上是希望能通过无线网络(GPRS的可能性比较大)传递一些消息给主系统. 阅读全文

posted @ 2007-03-10 00:56 Paker Liu 阅读(514) 评论(0) 推荐(0) 编辑

摘要:昨晚编译了一个显示时间的Today Plugin.也用regedit注册过键值.但是怎么也没有在Today Screen里显示我期待中的Plugin.我检查很久,也重新来多好几遍,但是Plugin就是不能正常运行.忙活到午夜12点.实在困得不行,就放弃掉,睡觉去了.今天,换了个注册表编辑器.重新设置了下键值.结果正常了.埃.没脾气了.看起来还是那句话工欲善其事必先利其器.这个工具运行在pc上,通过... 阅读全文

posted @ 2007-02-03 14:28 Paker Liu 阅读(708) 评论(2) 推荐(0) 编辑

摘要:这个api在sdk的help里,肯定能找到.用法如下: SYSTEM_POWER_STATUS_EX spse; GetSystemPowerStatusEx(&spse, TRUE);SYSTEM_POWER_STATUS_EX的定义是这样的:typedef struct _SYSTEM_POWER_STATUS_EX { BYTE ACLineStatus; BYTE Batter... 阅读全文

posted @ 2007-02-02 13:54 Paker Liu 阅读(2199) 评论(1) 推荐(0) 编辑

摘要:今天,有空了解了一下ppc上Today screen的开发.从网络上找了个实例代码.MyToday.这个project跟microsoft的官方网站提供的项目文件差不多[这里].我是用evc4来编译的.但是结果很糟糕.编译器提示我:fatal error C1083: Cannot open include file: 'todaycmn.h': No such file or directory... 阅读全文

posted @ 2007-02-01 13:46 Paker Liu 阅读(504) 评论(0) 推荐(0) 编辑

摘要:Cursor.Current = Cursors.WaitCursor; ..................................................................if(Cursor.Current!=null) { Cursor.Current=Cursors.Default; }... 阅读全文

posted @ 2005-11-30 17:12 Paker Liu 阅读(474) 评论(0) 推荐(0) 编辑

摘要:1. 添加引用: using System.ComponentModel;2.添加窗体Closing事件private void Form1_Closing( object sender, CancelEventArgs e ) { string text = "确定退出程序?"; string caption = "关闭程序"; if (MessageBox.Show( text, ... 阅读全文

posted @ 2005-11-30 16:10 Paker Liu 阅读(539) 评论(0) 推荐(0) 编辑

摘要:在CF1.0上,滚动窗体可以参考一下的文章处理;http://twodays.cnblogs.com/archive/2005/04/25/145020.html在CF2.0中,Form类提供了AutoScroll属性。该属性处理,当窗体内容过多时,自动显示滚动条; 阅读全文

posted @ 2005-11-29 14:03 Paker Liu 阅读(232) 评论(0) 推荐(0) 编辑

摘要:最进在使用VS2005开发时,发现有很多新东西,比如,我们常用的ToolBar ,MainMenu,StatusBar,变成了功能强大,样式新颖的,ToolStrip,MenuStrip,StatusStrip,等.不过还是有些不足,比如,ComboBox 变化不大,下拉框里面只能是文本的,很不方便,我的想法是在下拉ComboBox时会出现TreeView 控件,这也是我今天要做的控件Com... 阅读全文

posted @ 2005-11-29 12:41 Paker Liu 阅读(872) 评论(1) 推荐(0) 编辑

摘要:WSADATA wsd;SOCKET cClient;int ret;struct sockaddr_in server;hostent *host=NULL;if(WSAStartup(MAKEWORD(2,0),&wsd)){return 0;}cClient=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);if(cClient==INVALID_SOCKET)... 阅读全文

posted @ 2005-11-28 20:41 Paker Liu 阅读(9454) 评论(1) 推荐(1) 编辑

摘要:Winsock 的I/O操作:select模型: 通过调用select函数可以确定一个或多个套接字的状态,判断套接字上是否有数据,或者能否向一个套接字写入数据。 int select( int nfds, fd_set FAR * readfds, fd_set FAR * writefds, fd_set FAR *exceptfds, const struct timeval FAR ... 阅读全文

posted @ 2005-11-26 21:35 Paker Liu 阅读(1405) 评论(0) 推荐(0) 编辑

摘要:在这里,对象可以通过两种方式被清除。第一种方式是通过IDisposable接口的Dispose方法。此方法在对象显式地结束时被客户代码调用,它调用InternalDispose(true)。在这种情况下所有的对象都被清除了。如果析构函数被调用,那么InternalDispose(false)被调用,此时只有外部资源会被释放。如果我们已经执行了终止操作,那么我们自己的对象有可能已经被释放了,此后对它... 阅读全文

posted @ 2005-11-19 09:24 Paker Liu 阅读(303) 评论(0) 推荐(0) 编辑