I am using VBsedit to compile some VBs script to .exe The exe is created fine and shows MsgBox and so on. However, once it hits the part where liraries are used and tries to CreateObject it stops working. Obiously, I can run the script from VBsedit because I can add references to the libraries. But I don’t know how to compile the executable so it contais the libraries. Any help? Might gcc help?
Sub Main() Dim autECLConnMgr, autECLSession, sessionID, actCtx Dim myScreenStr, libPath
‘libPath = “C:\Program Files (x86)\IBM\Personal Communications\autcmgr.tlb” ‘Set autECLConnMgr = GetObject(libPath) ‘this does not work
Set autECLConnMgr = CreateObject(“PCOMM.autECLConnMgr”)
… ‘below here where some tests but it breaks on the lines above
End sub
The error message i get is ActiveX component can not create object.
The post How to compile VBscript to contain dll handlers? appeared first on 100% Private Proxies - Fast, Anonymous, Quality, Unlimited USA Private Proxy!.