以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  BarTender vb.net调用成功 ft里提示错误 请问如何移植  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=147862)

--  作者:xa139
--  发布时间:2020/3/26 1:07:00
--  BarTender vb.net调用成功 ft里提示错误 请问如何移植
vb.net里 引用   Seagull.BarTender.Print.dll 后执行下面代码 成功
Dim btapp As BarTender.Application
Dim btformat As BarTender.Format
Dim btdb As BarTender.Database
btapp = CreateObject("bartender.application")
btapp.Visible = False
btformat = btapp.Formats.Open("D:\\DELL\\Documents\\BarTender\\BarTender Documents\\test.btw")
btdb = btformat.Databases(1)
btformat.PrintOut()

在ft中引用后运行却提示
编译错误:未定义类型”BarTender.Application"。
错误代码:Dim btapp As BarTender.Application
请问如何将类似代码移植到ft中

--  作者:程兴刚
--  发布时间:2020/3/26 2:08:00
--  
Seagull.BarTender.Print.dll不支持.net 4.0
--  作者:有点蓝
--  发布时间:2020/3/26 9:30:00
--  
Seagull.BarTender.Print.dll添加到foxtable引用了吗http://www.foxtable.com/webhelp/topics/1936.htm
--  作者:xa139
--  发布时间:2020/3/27 1:46:00
--  
是不是可以用以前的fb版本
--  作者:有点蓝
--  发布时间:2020/3/27 11:25:00
--  
Seagull.BarTender是支持4.0 的,可能您购买的版本低吧。如果有备份foxtable项目,可以用回旧版的foxtable