连接到QuickBooks的桌面 [英] Connecting to QuickBooks desktop

查看:204
本文介绍了连接到QuickBooks的桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图连接到QuickBooks的会计师2011使用通常的 QBFC 类(C#)。

I'm trying to connect to QuickBooks Accountant 2011 using the usual QBFC classes (C#).

QBSessionManager sessionManager = new QBSessionManager();
sessionManager.OpenConnection("", "Application");



AI知道,从忒样品上面的代码应该连接到<$ C $的打开实例。C>的QuickBooks 应用

这是我得到的错误是:
检索COM类工厂具有CLSID组件{3C801F08-CDC5-4129-AAE8-CCC4F116B5BE}失败,原因是以下错误:80040154

The error that I'm getting is: Retrieving the COM class factory for component with CLSID {3C801F08-CDC5-4129-AAE8-CCC4F116B5BE} failed due to the following error: 80040154.

是的,我'已经使用 86 为目标打造的项目,但我想我失去了一些东西。我需要在客户端计算机上安装 QuickBooks的SDK ?我用QB SDK 10,做我需要使用QB SDK 11?

Yes, I've build the project using x86 as the target, but I guess I'm missing something. Do I need to install the QuickBooks SDK on the client computer? I'm using QB SDK 10, do I need to use QB SDK 11?

请指导我在正确的方向。

Please guide me in the right direction.

PS:我没有使用QBOE,这是工作确定其他应用程序,但是这一次我卡在尝试的事情,没有任何意义。

PS: I did another application that uses QBOE, which is working OK, but this time I'm stuck on trying things that don't make sense.

推荐答案

我发现这个问题。好像客户端计算机,将使用应用程序需要安装的QuickBooks的SDK。应该在试过了前面:)

I found the issue. Seems like the client computer, that will be using the application needs to have installed the QuickBooks SDK. Should of tried that earlier :)

这篇关于连接到QuickBooks的桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆