Firstly Thank you sir for helping. I have a 64-bit Windows 8.1 Installed. Already checked with python 3.4 and 2.7. Also tried with both 64-bit and 32-bit versions of python. WEAP itself didn't say much thing about its bit things. But I believe it's a 32-bit program. Also, I have tried this on a 32-bit Windows 7 OS as well, but no progress. Well I have no idea about using Windows Registry. In some sites, they suggest to check if there is a something in CLSID and ProgID (in windows registry) but I couldn't find them. As you said I created the file and again(!) I faced an error. I attach the error pic for you.
The error message is this: Script: C:\Users\Kasra\Desktop\test.vbs Line: 1 Char: 1 Error: ActiveX component can't create object: "WEAP.WEAPApplication" Code: 800A01AD Source: Microsoft VBScript runtime error Sorry by mistake, I sent it twice. On Tue, Aug 4, 2015 at 9:37 PM, Tim Roberts <t...@probo.com> wrote: > Tim Roberts wrote: > > Are you sure that the app ID is "Weap.WeapApplication"? Do you know how > > to troll the registry to verify that? > > I see in the code samples that this is the correct App ID, so that's not > the issue. You might try this from VBScript and see if it works. > Create a file called test.vbs that contains: > > Set WEAP = CreateObject("WEAP.WEAPApplication") > WEAP.Verbose = 4 > WEAP.Logfile = "logfile.txt" > > then run it. > > -- > Tim Roberts, t...@probo.com > Providenza & Boekelheide, Inc. > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32