How To Dispose Of Bartender Exe Activex
I have a VB6 application that uses the ActiveX to print labels. Recently I discovered that when the application closes bartender.exe remains active in the processes. I have close and "= nothing" statements in the menu option to close and in the Form Unload event but the exe remains active. Any suggestions? Thanks.
0
-
Gene Henson
★ BarTender Hero ★
You mention that you are using the close command. This command will close the BarTender label format, but it will not close the BarTender process. You should be calling the .Quit method to end the BarTender process.
You may also need to add this line of code after you call the BarTender .Quit command:
[code]System.Runtime.InteropServices.Marshal.ReleaseComObject (btApp)[/code]
Let me know if that helps.0
Please sign in to leave a comment.
Comments
1 comment