黎波

Windows Mobile Development for Line of Business
posts - 177, comments - 1124, trackbacks - 36, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

最新评论

共23页: 1 2 3 4 5 6 7 8 9 下一页 末页 
re: Windows Mobile 6 SDK 中的 GPS 工具 黎波 2008-07-09 19:19  
@ccyying
应该不需要吧,没有遇到过这样的问题。你换其他机器看看。
我的手机是多普达D805(WM6),我用GPSID的例子程序在模拟器中正常工作可以看到GPS数据,但是在手机上不工作,无论使用fake gps还是HOLUX slim236 蓝牙GPS模块都无法使用(该模块用HULOX的gpsviewer可以工作)。我甚至重新恢复出厂设置,也不行。
在网上查了,有人说是多普达的驱动有问题GPSID_HTC.DLL,更换了一下也不行,能否帮忙确认一下。是否GPSID仍然还是需要依赖厂商的DLL(如GPSID_HTC.DLL)?
re: 用C#获取Windows Mobile短信 wangxm 2008-07-08 15:55  
下载不了,还有其他有效下载地址吗?
@sofalife
如果是SQL Server Mobile 3.0或Compact 3.1版本,可以利用SqlCeResultSet来实现分页,因为它是一个类似游标的数据访问对象,可以向前,也可以向后。你可以试一试。
@CODE
你需要安装一些组件和补丁包:
Visual Studio 2005 Service Pack 1
http://go.microsoft.com/fwlink/?LinkID=79612
SQL Server 2005 Compact Edition
http://go.microsoft.com/fwlink/?LinkID=79611

参考这里吧:
http://www.microsoft.com/china/msdn/library/data/sqlserver/bb219483.mspx?mfr=true
@郁闷的小鱼儿
此方法是用SQL Server Compact 3.1生成的,我记得生成的文件可以用于SQL Server Mobile 3.0的。我看到你的错误信息,那台安装了SQL Server 2005的机器好像是SQL Server Mobile,没有安装SQL Server 2005 SP2来支持SQL Server Compact。
@allen.feng
我建议你看看这里的一些文章,看看是不是那个地方配置不对:
http://www.cnblogs.com/upto/favorite/67457.html
@allen.feng
一般这种问题是权限引起的,合并复制的配置很麻烦,你可以参考微软这个LOB实例里面关于配置合并复制的文档。
http://www.cnblogs.com/upto/archive/2006/08/18/MobileLineofBusinessSolutionAccelerator.html
黎老师,学生急求....

我连接RF服务器,在将它与IIS进行同步的时候一直出错,不能连接,老师帮忙想个办法啊

我的连接代码如下:
class AppConstant
{
private AppConstant()
{
}
public const string sqlAgent = "http://rb-it-allen/RainBow/sqlcesa30.dll";
public const string rdaOleDbConnstr = "Provider=sqloledb;Persist Security Info=False;;Data Source=RB-IT-AIIEN;Initial Catalog=Northwind;" +
"User Id=sa";

public const string Publisher = "RB-IT-AIIEN";--计算机名
public const string PublisherDatabase = "Northwind";--数据库名
public const string PublisherLogin = "sa";--用户名
public const string PublisherPassword = "";
public const string Publication = "RainBow";--不知道是什么,能帮我讲解下吗?

public const string Subscriber = "BaseData";
public const string localDBPhysicalFile = "\\Program Files\\RBInformsRF\\RainBowCEDB.sdf";
public const string localConnection = @"Data Source= \Program Files\RBInformsRF\RainBowCEDB.sdf";
public const Boolean translateFlag = true;
}

---------------------------------------------
public void BaseDataSynchronize()
{
try
{
// 实例化并配置 SqlCeReplication 对象
SqlCeReplication repl = new SqlCeReplication();
repl.InternetUrl = AppConstant.sqlAgent;
repl.Publisher = AppConstant.Publisher;
repl.PublisherSecurityMode = SecurityType.DBAuthentication;
repl.PublisherDatabase = AppConstant.PublisherDatabase;
repl.PublisherLogin = AppConstant.PublisherLogin;
repl.PublisherPassword = AppConstant.PublisherPassword;
repl.Publication = AppConstant.Publication;
repl.Subscriber = AppConstant.Subscriber;
repl.SubscriberConnectionString = AppConstant.localConnection;

repl.AddSubscription(AddOption.ExistingDatabase);
// 跟 SQL Server 数据库进行同步
repl.Synchronize();

// 清理 repl 对象
repl.Dispose();
}
catch (SqlCeException ex)
{
MessageBox.Show(ex.ToString());
}/**/
}

在执行repl.Synchronize();的时候就出错,"将数据发送到运行IIS的计算机的请求失败,有关详细信息,请参阅HRESULT"..
黎老师,学生急求....

我连接RF服务器,在将它与IIS进行同步的时候一直出错,不能连接,老师帮忙想个办法啊

我的连接代码如下:
class AppConstant
{
private AppConstant()
{
}
public const string sqlAgent = "http://rb-it-allen/RainBow/sqlcesa30.dll";
public const string rdaOleDbConnstr = "Provider=sqloledb;Persist Security Info=False;;Data Source=RB-IT-AIIEN;Initial Catalog=Northwind;" +
"User Id=sa";

public const string Publisher = "RB-IT-AIIEN";
public const string PublisherDatabase = "Northwind";
public const string PublisherLogin = "sa";
public const string PublisherPassword = "";
public const string Publication = "RainBow";

public const string Subscriber = "BaseData";
public const string localDBPhysicalFile = "\\Program Files\\RBInformsRF\\RainBowCEDB.sdf";
public const string localConnection = @"Data Source= \Program Files\RBInformsRF\RainBowCEDB.sdf";
public const Boolean translateFlag = true;
}

---------------------------------------------
public void BaseDataSynchronize()
{
try
{
// 实例化并配置 SqlCeReplication 对象
SqlCeReplication repl = new SqlCeReplication();
repl.InternetUrl = AppConstant.sqlAgent;
repl.Publisher = AppConstant.Publisher;
repl.PublisherSecurityMode = SecurityType.DBAuthentication;
repl.PublisherDatabase = AppConstant.PublisherDatabase;
repl.PublisherLogin = AppConstant.PublisherLogin;
repl.PublisherPassword = AppConstant.PublisherPassword;
repl.Publication = AppConstant.Publication;
repl.Subscriber = AppConstant.Subscriber;
repl.SubscriberConnectionString = AppConstant.localConnection;

repl.AddSubscription(AddOption.ExistingDatabase);
// 跟 SQL Server 数据库进行同步
repl.Synchronize();

// 清理 repl 对象
repl.Dispose();
}
catch (SqlCeException ex)
{
MessageBox.Show(ex.ToString());
}/**/
}

在执行repl.Synchronize();的时候就出错,"将数据发送到运行IIS的计算机的请求失败,有关详细信息,请参阅HRESULT"..
通过楼主的方法,我生成了sdf文件,可在SQL SERVER2005里连接不了,连接就报如下的错误信息,请赐教,谢谢!

===================================

无法连接到 F:\WORK\Dictionary\Dictionary\Dictionary\Data\Data2008.sdf。

===================================

未指定的错误 [ 3505053,3004180,F:\WORK\Dictionary\Dictionary\Dictionary\Data\Data2008.sdf ] (SQL Server Mobile Edition ADO.NET Data Provider)

------------------------------
程序位置:

在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
在 System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
在 System.Windows.Forms.Control.Invoke(Delegate method)
在 Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

@reve
Maybe you can solve your problem with the help of this post:
http://blogs.msdn.com/sql_protocols/archive/2007/03/31/named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server.aspx

I suggest you check your sql server protocol settings carefully.

Good luck!
拜讀如何将数据导入到 SQL Server Compact Edition 数据库中1~5
,很棒的文章,正是我想要的。Thanks a lot!
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

I have opened the remote service of SQL Server by the SQL Server surface area configuration, use local and remote connections( using both TCP/IP and also I have opened the port 1433,)
would u please help me with this error, thanks!
re: Windows Mobile 开发工具和资源 黎波 2008-07-04 00:00  
@脚印
你可以看看Windows Mobile SDK关于Remote API (RAPI)的内容。
re: Windows Mobile 开发工具和资源 脚印 2008-07-03 21:32  
想请教一个问题
我用数据想将PDA和PC链接起来,在pc上的winform程序如何获取pad中的文件?路径是怎样的?
如何在SqlCE中编写高效的分页查询语句,谢谢
@魏莉
all depend on your desteny OS version~
platform builder 用4.2 可以吗,还是必须用6.0 才可以
I want to express my thanks
谢谢
re: Windows Mobile 开发工具和资源 bosheng0 2008-06-29 21:22  
测试下
哈哈。我的ppc是3.5.7283。高级了去了
完全不知所云。新手的苦恼。
re: 开发 .NET 下的 FTP 客户端组件 刘军辉 2008-06-26 16:29  
用edtFtpNet怎样实现续传和进度跟踪?能否简要说明一下?
@魏莉
还需要安装Platform Builder,这个是需要购买的。
你在google搜索一下吧。
我想用WinCE 开发一个PDA产品,我现在已经装完VS.NET2005 以后 还需要安装什么呢,谢谢!
我十分渴望您能给我恢复
re: Windows Mobile 6.1发布了 黎波 2008-06-24 22:48  
@Oran
我们说的是WM6.1的仿真器镜像。
按照User Guide的描叙,使用EQATEC将目标程序Profile后,放在PDA实体上运行,可是没找到生成的报告(可能压根没生成),可是它提供的Demo程序却能在\Temp目录下生成报告。

查看User Guide中的描叙,
The report is called "profiler-timestamp.log.xml", e.g. profile-20080422-182342.log.xml from April 22th 2008, at 18:23:42. The report is saved to the first available of these locations: "\Storage Card", "\SD Card", "\Temp", and "\". So if your device has an SD-Card you can get the report out of it that way, which is quite handy.
为此我还反编译了EQATECProfilerRuntime.dll来查看报告的输出路径,果然如它的User Guide里面描叙的
private static string[] s_ReportFileRoot = new string[] { @"\SD Card", @"\Storage Card", @"\Temp", @"\" };
但是结果还是很奇怪,我PDA上面明明有Temp目录,何况它的Demo能在Temp下生成,为啥我的目标程序就不能输出报告?难道目标程序还要什么需要设置的?
re: Windows Mobile 6.1发布了 Oran 2008-06-24 16:48  
--引用--------------------------------------------------
黎波: @james_1010
还没有中文的。
--------------------------------------------------------
中文早有了吧,是不是民间版的?!竹子用过一段时间。
re: Windows Mobile 开发工具和资源 cjsafty 2008-06-24 15:22  
补充下,使用RTP协议传送数据,这里也涉及到UDP。
WM6是不是有相应的API
opencf可实现在PC应用程序智能设备上的文件进行操作.

但这一般需要在PC上安装应用程序与.NET FRAMEWORK.

我想,能否直接在智能设备上做个应用程序使用opencf 实现相

同的操作,但我没有试成功.它一直说myRapi对象是NULL.

请问能否实现这样的功能,若能实现怎么做?在网上找了很久都没
找到,但找到您的博客.所以在此请教.请告知:

qkhqkh@21vn.vom
re: Windows Mobile 开发工具和资源 cjsafty 2008-06-24 10:45  
请问
1.在视频转发器端通过internet以rtsp协议发送H.264编码的流媒体内容
(实时监控录像),如果我要写应用程序在WM6手机端接收。
那么H.264的解码这一块应该怎么解决,RTSP这一块呢?
能不能给些提示?
2.我有用C写 的H.264解码的源程序,通过调用非托管代码的方式使用是否明智?但是P/invoke不支持.net 2.0,还有其他工具吗?网上现在有
p invoke interop assistant
3.mobile 6 是不是包含大量的非托管的DLL,这些应该怎么看得到。
re: Download all Windows Mobile MSDN Webcasts zhanghaifeng 2008-06-23 14:50  
good good
写得很好。感谢。
@sunday0063
最好用ASP.NET Web服务应用程序试一试吧
@hua594481
这个方法目前只能用.net来实现。
re: Windows Mobile 6.1发布了 黎波 2008-06-21 11:45  
@james_1010
还没有中文的。
@FHB_WO
试一试:6. 点击“File-->Reset-->Soft”菜单项,对仿真器进行软重置操作。
@mobile超级菜鸟
1.WM6内置了SQL Server Compact 3.1,内置的是数据库的引擎,没有界面。
2.用数据同步或数据导入方式,具体做法在我的博客上找。
黎波老大,请教您一个问题:我用.OpenNETCF中的Recorder::RecordFor (Stream, Int16, SoundFormats) 这个方法来实现录音功能,将所录的数据放到一个stream中,然后直接用udp发出去。
其中Stream参数应该用什么类型?我试过了MemoryStream,可是不行。

我不想录到文件中,所以不想用FileStream。

期待您的解答,谢谢!ruiyangwang@gmail.com
我在客户端调用的是DimeServWrap.cs中改了名字后的方法
上面写的都是上传文件的代码 DimeServWrap.cs中的UploadFile()方法也被我改了名字 要不也会抛出异常 无法反射方法
额滴神啊~可算找到一篇MOBILE传文件的文章了~
运行的时候遇到了几个问题

抛出异常 无法反射方法DownloadFile()。。 然后我把DimeServWrap.cs中DownloadFile()方法改了名字,程序倒是可以运行了,不过发现Service1.asmx.cs中的reqContext.Attachments个数时0 -_-!,在客户端svc.RequestAttachments.Add(dimeAttach);是加进去了的,不知道服务端为什么没取出来。我建的是 ASP.NET WEB服务 不是ASP.NET Web服务应用程序。请黎老师帮忙解答呀
支持个,就是看不了。
re: Windows Mobile 开发工具和资源 heywap 2008-06-11 19:15  
请问,在vs2005中可不可以使用托管代码来开发基于windows mobile的windows 服务程序?如果不行,有没有什么其它的途径可以做到?谢谢.
支持哦~~
@黎波
恩,是的.用的是sqlclient连接的.现在问题解决了,也不知道是什么原因产生的,我用的是Symbol3000系列,会不会是与设备有关系?数据下载的时候用的是:
while(dr.reade())
{
...
insert into sqlceDataBase(....)
...
}
读到300或200多条数据的时候就出错了!!
共23页: 1 2 3 4 5 6 7 8 9 下一页 末页