简体   繁体   English

通过vb.net中的兑换同步到Outlook 2010

[英]Sync to Outlook 2010 with redemption in vb.net

I am developing an application where I want to sync the outlook calendar, mail, etc. The piece of code which is there with me is working fine for outlook 2003, 2007. but I don't know what's the problem it is causing for outlook 2010. I use the following: 我正在开发一个应用程序,我想同步outlook日历,邮件等。与我一起使用的代码片段在outlook 2003,2007上工作得很好。但我不知道它对outlook造成的问题是什么2010.我使用以下内容:

redemption dll 5.4 version-32 bit 兑换dll 5.4版本-32位
office object core 14 dll-32 bit office对象核心14 dll-32位
office -32 bit version 办公室-32位版本
visual studio 2008 视觉工作室2008

I am getting this error: 我收到此错误:

Cannot create ActiveX component. 无法创建ActiveX组件。

On the following line: 在以下行:

session = CreateObject("Redemption.RDOSession")

Where session is: 会话在哪里:

Dim session As Redemption.RDOSession

After which the following error is displayed: 之后会显示以下错误:

Either there is no default mail client or the current mail client cannot fulfill the messaging request 要么没有默认邮件客户端,要么当前邮件客户端无法满足邮件请求

I have tried various things but it's same. 我尝试了各种各样的东西,但它是一样的。 I also reinstalled, repaired outlook, repaired registry. 我也重新安装,修复了outlook,修复了注册表。

Any ideas? 有任何想法吗?

this worked for me: 这对我有用:

first, I will say I used the Customize.exe that comes with redemption to create a dll called ffloader.dll 首先,我会说我使用了带有兑换的Customize.exe来创建一个名为ffloader.dll的DLL

Next, I registered that dll as follows (32 bit) regsvr32 ffloader.dll 接下来,我注册了这个DLL如下(32位)regsvr32 ffloader.dll

Finally in the vb.net code I created the session as follows: 最后在vb.net代码中我创建了如下会话:

Dim Session As Redemption.RDOSession = CreateObject("ffloader.ffRDOSession") Dim Session As Redemption.RDOSession = CreateObject(“ffloader.ffRDOSession”)

Hope that helps! 希望有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM