Hi. We had a in-house program that use a PRINTLBL.EXE to print label in DOS mode. after the label was printed, Window XP will issue the error message ( Invalid procedure call or arguments ). But if use under Window 95 or Window 98 it will work fine with no error.
the code we use is as follow
LabelPN = App.path & "\LabelTmp.txt"
Open LabelPN For Output As #1
Print #1, strLabel
Close #1
AppActivate Shell(App.path & "\PrintLBL.pif", vbNormalFocus)
Thanks for your help.
Terry