Foxtable(狐表)用户栏目专家坐堂 → BarTender vb.net调用成功 ft里提示错误 请问如何移植


  共有2125人关注过本帖平板打印复制链接

主题:BarTender vb.net调用成功 ft里提示错误 请问如何移植

帅哥哟,离线,有人找我吗?
xa139
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:童狐 帖子:282 积分:2835 威望:0 精华:0 注册:2019/4/23 11:17:00
BarTender vb.net调用成功 ft里提示错误 请问如何移植  发帖心情 Post By:2020/3/26 1:07:00 [只看该作者]

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中

 回到顶部