Foxtable(狐表)用户栏目专家坐堂 → 测试


  共有4157人关注过本帖树形打印复制链接

主题:测试

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


加好友 发短信
等级:婴狐 帖子:6 积分:154 威望:0 精华:0 注册:2020/5/15 17:19:00
测试  发帖心情 Post By:2020/5/20 12:08:00 [显示全部帖子]

测试
[此贴子已经被作者于2020/5/28 10:25:31编辑过]

 回到顶部
帅哥哟,离线,有人找我吗?
18087425714
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:6 积分:154 威望:0 精华:0 注册:2020/5/15 17:19:00
  发帖心情 Post By:2020/5/20 17:34:00 [显示全部帖子]

VBA代码如下:
Private Sub CommandButton1_Click()
Dim file_path As String
Dim btApp As BarTender.Application
Dim btFormat As BarTender.Format
Dim inti As Long, arr, i%, dic As Object
file_path = ThisWorkbook.Path & "\1.btw"
Set btApp = New BarTender.Application
btApp.Visible = False
Set btFormat = btApp.Formats.Open(file_path)
btFormat.PrintOut

btFormat.Close btDoNotSaveChanges
btApp.Quit
Set btFormat = Nothing
Set btApp = Nothing
End Sub

SDK文件夹里有两个DLL 文件,已经复制到foxtable的安装目录了:
BarTenderPrintClient.dll
Seagull.BarTender.Print.dll

请问在Foxtable的全局代码中怎么定义API函数,实在是理解不了,还望大神指点???

 回到顶部
帅哥哟,离线,有人找我吗?
18087425714
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:6 积分:154 威望:0 精华:0 注册:2020/5/15 17:19:00
  发帖心情 Post By:2020/5/20 17:35:00 [显示全部帖子]

VBA代码如下:
Private Sub CommandButton1_Click()
Dim file_path As String
Dim btApp As BarTender.Application
Dim btFormat As BarTender.Format
Dim inti As Long, arr, i%, dic As Object
file_path = ThisWorkbook.Path & "\1.btw"
Set btApp = New BarTender.Application
btApp.Visible = False
Set btFormat = btApp.Formats.Open(file_path)
btFormat.PrintOut

btFormat.Close btDoNotSaveChanges
btApp.Quit
Set btFormat = Nothing
Set btApp = Nothing
End Sub

SDK文件夹里有两个DLL 文件,已经复制到foxtable的安装目录了:
BarTenderPrintClient.dll
Seagull.BarTender.Print.dll

请问在Foxtable的全局代码中怎么定义API函数,实在是理解不了,还望大神指点???

 回到顶部
帅哥哟,离线,有人找我吗?
18087425714
  4楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:6 积分:154 威望:0 精华:0 注册:2020/5/15 17:19:00
  发帖心情 Post By:2020/5/21 9:21:00 [显示全部帖子]

 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:sdk.rar

bartender 版本是 bartender enterprise automation

版主你好,附件已经上传,我买FOXTABLE就是为了管理产品,打印标签,水平有限麻烦告诉方法,非常感谢!

 回到顶部
帅哥哟,离线,有人找我吗?
18087425714
  5楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:6 积分:154 威望:0 精华:0 注册:2020/5/15 17:19:00
  发帖心情 Post By:2020/5/21 9:23:00 [显示全部帖子]

bartender 版本是 bartender enterprise automation

版主你好,附件已经上传,我买FOXTABLE就是为了管理产品,打印标签,水平有限麻烦告诉方法,非常感谢!

 回到顶部