Way to call NiceLabel 2019 from MS Access VBA

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
BKMUSBS
Enthusiast
Posts: 9
Joined: Thu Oct 14, 2021 9:36 am

Way to call NiceLabel 2019 from MS Access VBA

Post by BKMUSBS » Mon Dec 06, 2021 6:59 am

Nice Label 6
Previously I can using MS Access VBA to trigger Nice Label form by this following command,
Shell("C:\Program Files (x86)\EuroPlus\NiceLabel 6\bin\nform6rt.exe " & "C:\NiceLabel\02_NiceLabel_Form\Inner\NO01bB1.xff", 1)


Nice Label 2019
May I know what is the command can I use to trigger Nice Label 2019?

User avatar
Mytch
NiceLabel Support
NiceLabel Support
Posts: 272
Joined: Fri Jul 13, 2018 10:26 pm
Location: Milwaukee, Wisconsin
Contact:

Re: Way to call NiceLabel 2019 from MS Access VBA

Post by Mytch » Fri Dec 10, 2021 5:15 pm

BKMUSBS,

You cannot pass parameters with NiceLabel 2019 as with legacy versions. However, you can still launch .NSLN files directly with NiceLabel Print and also create .LNK shortcuts to a specific Solution and Form. Shortcut target is like this:
"C:\Program Files\NiceLabel\NiceLabel 2019\bin.net\NiceLabelPrint.exe" "C:\Your\Path\Solution.nsln"

Maybe something similar can be done with or without shell command. Integrated printing is much better suited for NiceLabel Automation or by using Cloud APIs or .NET API.

Regards,
Mytch

BKMUSBS
Enthusiast
Posts: 9
Joined: Thu Oct 14, 2021 9:36 am

Re: Way to call NiceLabel 2019 from MS Access VBA

Post by BKMUSBS » Mon Jan 10, 2022 10:11 am

hi Mytch
good afternoon

Thanks for your prompt help and valuable information.
Yes. It worked.

Post Reply