
此主题相关图片如下: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 版本:2

020.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编辑过]