Jump to content
Sign in to follow this  
LapidusCreatorium

ActiveX Control

Recommended Posts

LapidusCreatorium

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.

Share this post


Link to post
Share on other sites
LapidusCreatorium

So I understand that this is not possible?

Share this post


Link to post
Share on other sites
ptrex
notme

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>";

Share this post


Link to post
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
Sign in to follow this  

×