<div dir="ltr"><div dir="ltr"><div>Firstly Thank you sir for helping.</div><div>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.</div><div>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.</div><div>As you said I created the file and again(!) I faced an error. I attach the error pic for you.</div><div><br></div><div>The error message is this: </div><div><br></div><div><br></div><div>Script: C:\Users\Kasra\Desktop\test.vbs</div><div>Line: 1</div><div>Char: 1</div><div>Error: ActiveX component can't create object: "WEAP.WEAPApplication"</div><div>Code: 800A01AD</div><div>Source: Microsoft VBScript runtime error</div><div><br></div><div>Sorry by mistake, I sent it twice.</div></div><div class="yj6qo ajU"><div tabindex="0" class="ajR" id=":sk"><img class="ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 4, 2015 at 9:37 PM, Tim Roberts <span dir="ltr"><<a href="mailto:timr@probo.com" target="_blank">timr@probo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><span>Tim Roberts wrote:<br>
> Are you sure that the app ID is "Weap.WeapApplication"? Do you know how<br>
> to troll the registry to verify that?<br>
<br>
</span>I see in the code samples that this is the correct App ID, so that's not<br>
the issue. You might try this from VBScript and see if it works.<br>
Create a file called test.vbs that contains:<br>
<br>
Set WEAP = CreateObject("WEAP.WEAPApplication")<br>
WEAP.Verbose = 4<br>
WEAP.Logfile = "logfile.txt"<br>
<br>
then run it.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Tim Roberts, <a href="mailto:timr@probo.com">timr@probo.com</a><br>
Providenza & Boekelheide, Inc.<br>
<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-win32" target="_blank" rel="noreferrer">https://mail.python.org/mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br></div></div>