I build VB6 Application to printing label using Codesoft 9 Application, but when I try to execute the code, the error appears "Out Of Memory" and then it debug to this code :
Set CS6 = New LabelManager2.Application
So, what's wrong with my code, any idea???
The error should be an exception with this message:
Creating an instance of the COM component with CLSID
{3624B9C0-9E5D-11D3-A896-00C04F324E22} from the IClassFactory failed due to the following
error: 8007000e Not enough storage is available to complete this operation.
(Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).
The issue probably involves licensing.
Only the Enterprise version of Teklynx Codesoft 9 and 10 support the full ActiveX LabelManager2.dll (Lppx2.Application
) component. I can duplicate your problem using the Pro level or not starting the Codesoft application with the Enterprise Evaluation license first.
I think that the .Net wrapper version Lppnet.dll (Tkx.Lppa.Application
), may work with the Pro level license, but it is very limited version.
Here is some additional information:
Tools
\ Options
Tools
\ Configuration
Product Mode
Codesoft Enterprise RFID
OK
When running in a demo mode you have to start the Codesoft application first before running your program. It may not load on its own unless you have an Enterprise license installed. I don’t currently have a non-demo Codesoft license to do testing on this aspect.
I also do not have Codesoft 2012 or 2014 installed so I don’t know if everything listed applies directly to those versions. They have made major changes to the way licensing works and installing them uninstalls the older version.