以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 测试 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=150082) |
||||
-- 作者:18087425714 -- 发布时间:2020/5/20 12:08:00 -- 测试 测试 [此贴子已经被作者于2020/5/28 10:25:31编辑过]
|
||||
-- 作者:有点蓝 -- 发布时间:2020/5/20 14:03:00 -- 不是.net开发的dll无法直接引用的。其它类型dll参考这种用法:http://www.foxtable.com/webhelp/topics/2417.htm |
||||
-- 作者:18087425714 -- 发布时间: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 |
||||
-- 作者:18087425714 -- 发布时间: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 |
||||
-- 作者:有点蓝 -- 发布时间:2020/5/21 8:33:00 -- sdk的开发文档和dll发上来看看 |
||||
-- 作者:18087425714 -- 发布时间:2020/5/21 9:21:00 --
bartender 版本是 bartender enterprise automation
版主你好,附件已经上传,我买FOXTABLE就是为了管理产品,打印标签,水平有限麻烦告诉方法,非常感谢! |
||||
-- 作者:18087425714 -- 发布时间:2020/5/21 9:23:00 -- bartender 版本是 bartender enterprise automation 版主你好,附件已经上传,我买FOXTABLE就是为了管理产品,打印标签,水平有限麻烦告诉方法,非常感谢!
|
||||
-- 作者:有点蓝 -- 发布时间:2020/5/21 9:47:00 -- BarTenderPrintClient.dll是不是.net的dll,也没有看到任何针对这个dll的开发说明。 里面的几个实例都是引用Seagull.BarTender.Print.dll的,和BarTenderPrintClient.dll没有什么关系,建议自行参考几个实例里面的vb目录里的项目实例用法,这里的代码是foxtable可以直接使用的
|