[python-win32] Using "WEAP" API in Python
Kasra Keshavarz
kasra545 at gmail.com
Tue Aug 4 19:35:09 CEST 2015
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 <timr at 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, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20150804/5ef64dcc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error.PNG
Type: image/png
Size: 9618 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-win32/attachments/20150804/5ef64dcc/attachment-0001.png>
More information about the python-win32
mailing list