How to compile javascript code in form of ActiveX control?

M

mistral

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.
 
V

VK

mistral said:
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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top