以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [原创]bartender调用报错  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=157610)

--  作者:redbule2
--  发布时间:2020/10/22 12:38:00
--  [原创]bartender调用报错

此主题相关图片如下:qq图片20201022123558.png
按此在新窗口浏览图片
The BarTender engine could not be started. Possible reasons are:

1) BarTender is not properly installed.
2) BarTender is not properly registered on the computer (e.g bartend.exe /register).
3) There are too many process instances of BarTender running. Stop a few bartend.exe instances and try again. Also see SDK Engine.Start method documentation for information about how to allow more BarTender processes to run on your computer by increasing your "non-interactive" shared desktop heap.
从 IClassFactory 为 CLSID 为 {B9425246-4131-11D2-BE48-004005A04EDF} 的 COM 组件创建实例失败,原因是出现以下错误: 80040112。.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2020.5.29.8
错误所在事件:窗口,SN打印,Button1,Click
详细错误信息:
The BarTender engine could not be started. Possible reasons are:

1) BarTender is not properly installed.
2) BarTender is not properly registered on the computer (e.g bartend.exe /register).
3) There are too many process instances of BarTender running. Stop a few bartend.exe instances and try again. Also see SDK Engine.Start method documentation for information about how to allow more BarTender processes to run on your computer by increasing your "non-interactive" shared desktop heap.
从 IClassFactory 为 CLSID 为 {B9425246-4131-11D2-BE48-004005A04EDF} 的 COM 组件创建实例失败,原因是出现以下错误: 80040112。


打印代码为:

打印代码为:
Dim report As new BarTenderReport.Report()
dim dt as datatable = 表a
report.FileName = "打印模板"
report.RegisterData(dt.basetable)
report.Print("打印机名称")

[此贴子已经被作者于2020/10/22 12:40:48编辑过]

--  作者:redbule2
--  发布时间:2020/10/22 12:41:00
--  
打印代码为:
Dim report As new BarTenderReport.Report()
dim dt as datatable = 表a
report.FileName = "打印模板"
report.RegisterData(dt.basetable)
report.Print("打印机名称")


--  作者:有点蓝
--  发布时间:2020/10/22 13:43:00
--  
根据提示似乎是这个第三方组件没有注册
--  作者:redbule2
--  发布时间:2020/10/22 16:10:00
--  
是什么意思呢,官方是否可以出一个bartender调用的例子
--  作者:有点蓝
--  发布时间:2020/10/22 16:18:00
--  
这是一个收费软件,如果购买了无法正常使用请先咨询对方客服!

The BarTender engine could not be started. Possible reasons are:       BarTender引擎无法启动,可能原因是

1) BarTender is not properly installed. 没有正确安装BarTender 
2) BarTender is not properly registered on the computer (e.g bartend.exe /register). 没有正确注册BarTender