Database >> Bartender How To Automate 关注

0
Avatar
Legacy Poster

How do I automate the database bartender collaboration? I work with Access 2003 and Bartender 10.

Until now I've tried the folowing in Access, I created an application button with the path: "C:\Program Files\Seagull\BarTender Suite\bartend.exe" / AF = "C:\Users\Tuin en Kas\MDB planten bestand\Rpt-Label.btw" / P / XS.

 But it doesn't work. When I only use the first part of the path it works and Access finds and opens Bartender. But not the whole path (incl label).

Anybody?

4 评论

0
Avatar
Fernando Ramos Miracle
版主
评论操作 固定链接

Are you entering that exact command line? Please make sure to avoid the space between the "/" character and the actual letter:

 

"C:\Program Files\Seagull\BarTender Suite\bartend.exe" /AF = "C:\Users\Tuin en Kas\MDB planten bestand\Rpt-Label.btw" /P /XS

 

Does the above work?

 

Regards.

0
Avatar
Legacy Poster
评论操作 固定链接

I checked it again but it was correct! And it doesn't work. I showed the command line to a VBA specialist and he only undrstood the first part of the command line the path to execute  bartender. The latter part he did not understand: it is no command line for VBA het told me.

0
Avatar
Fernando Ramos Miracle
版主
评论操作 固定链接

Hello Remmie,

 

That line of code is certainly not VB, it's command line. If you wish to use it as such, you'll need to pass it as a system command.

 

If instead you wish to run BarTender through VB directly you will need to use our .NET SDKs. Please take a look at the help documentation included with our application on the matter.

 

Also for your reference, please take a look at the below white papers:

 

http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-C-Sharp-and-VB.NET(English).pdf

 

Regards.

0
Avatar
Legacy Poster
评论操作 固定链接

Okay, thanks! I will study on it and try to implement it.

请先登录再写评论。