Jump to content

ActiveX Control


Recommended Posts

Hello,

I have this code currently in html/javascript which is delivering a license with IE.

But I need now to deliver it with Autoit bypassing IE.

CODE
<script type="text/javascript">

function StoreLic()

{

var license = "<LICENSERESPONSE><REVOCATION mMkSwzsVXQbSoYdteDW2lYDdHhRkCMdXHb</LICENSE></LICENSERESPONSE>";

netobj.StoreLicense(license);

}

</script>

</head>

<body onload="StoreLic();">

<object id="netobj" height="0" width="0" classid="clsid:A9FC132B-096D-460B-B7D5-1DB0FAE0C062"></object>

How can I deliver this with Autoit without opening a browser window?

Thanks.

Link to comment
Share on other sites

  • 1 month later...

I can see that you are missing the closing tag for <REVOCATION /> or </REVOCATION> element:

"<LICENSERESPONSE><REVOCATION mMkSwzsVXQbSoYdteDW2lYDdHhRkCMdXHb</LICENSE></LICENSERESPONSE>";

You are also missing the opening tag for </LICENSE>

"<LICENSERESPONSE><REVOCATION mMkSwzsVXQbSoYdteDW2lYDdHhRkCMdXHb</LICENSE></LICENSERESPONSE>";

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...