variable labelname in NiceWatch

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
Posts: 6
Joined: Mon Jul 23, 2007 3:12 pm
Location: Germany, Saarland, Homburg

variable labelname in NiceWatch

Post by ktroess » Tue Jul 24, 2007 10:39 am

Hello, help please:

I try to print labels with NW5.0.1 (1446).
I have a triggerfile his called for example "ac.csv", his works.
If the trigger is started, it read the variable info from the ac.csv-file.
My problem: the labelname; the labelname is the same as the shorttriggerfilename with a different extension; the labelname is ac.lbl.
How can I set the variable labelname in the "open label" action?
I tried with visual basic script, the msgbox give me the correct name in a variable, but if I try to use this variable in the "open label" action, NW sayed: Labelfilename doesn't exist (or similar, I have a German NL5). What can I do?


User avatar
Posts: 60
Joined: Mon Sep 11, 2006 4:15 pm
Location: Milwaukee, WI

Post by lpatty » Fri Jul 27, 2007 4:26 am

Is your label file located in the default label file folder? If not, try concatenating the path in front of the label name in your VB Script. Sounds like NiceWatch can't find the path to the label file.

Post Reply