By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,108 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

How to compile javascript code in form of ActiveX control?

P: n/a
How to compile javascript code in form of ActiveX control? This will
make code more compact and easier to manage on web page. I.e. part of
my javascript code already contains activex objects, and i just want
embed it into more compact form, like <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ...

m.

Oct 14 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VK

mistral wrote:
How to compile javascript code in form of ActiveX control?
1. ActiveX is a Microsoft Windows technology available for Internet
Explorer, that excludes the generic "javascript" and implies a JScript
code for IE only.
2. "javascript code in form of ActiveX control" doesn't exist as such.
There can be a WSH job written in JScript.
3. Unlike <script>, IE will not run an ActiveX unless it's registered
on the current system or unless it's properly signed to request for
needed privileges.

Summary: you want to write a custom ActiveX on JScript for IE with an
ability to register it on the user's machine.

Answer: search MSDN for "script component".

Oct 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.