473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Adding capabilities to javascript from the ActiveX scripting engine.

I was wondering if anyone has enough familiarity with the ActiveX
scripting implementation of javascript to answer if it would be
possible to define a new language for the engine, and for the
implementation inheriting from the javascript implementation, adding in
capabilities.

By capabilities I mean not just the generic use of the word, but more
specifically the concept of capability-based security.
Hoping someone can give me a good answer on this as I don't want to end
up doing a lot of investigation just to discover the answer is a big no
way in hell.

Thanks.

Aug 28 '05 #1
4 1771
"pantagruel" <br*@itnisk.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I was wondering if anyone has enough familiarity with the ActiveX
scripting implementation of javascript to answer if it would be
possible to define a new language for the engine, and for the
implementation inheriting from the javascript implementation, adding in
capabilities.


I'm not at all sure what you're talking about... what ActiveX scripting
implementation? Who's the vendor?

If it's Micrsoft then I'm confident that the implementation would be the
same as the related JScript implementation. They wouldn't do multiple
versions from scratch - if they did create an ActiveX control (and I can't
really see any reason for them to) which "did" JavaScript I think the smart
money would be on it being the same as the version in IE.

Jim Davis
Aug 29 '05 #2
ActiveX Scripting has sometimes been used to refer to Active Scripting,
that is however an outmoded usage, I should probably have specified.

http://www.microsoft.com/mind/0297/activescripting.asp

so to clarify, what I am thinking of is an implementation that takes
the javascript implementation and adds extra functionality to it.
Extending objects at the Active Script level as opposed in a script
itself.

Aug 29 '05 #3
pantagruel wrote:
ActiveX Scripting has sometimes been used to refer to Active Scripting,
that is however an outmoded usage, I should probably have specified.
The terms are interchangeable - the "X" seems to have been dropped about
2000. Why is open to conjecture.

http://www.microsoft.com/mind/0297/activescripting.asp

so to clarify, what I am thinking of is an implementation that takes
the javascript implementation and adds extra functionality to it.
Extending objects at the Active Script level as opposed in a script
itself.


Do you mean extending the COM object to add extra functionality that can
be accessed by custom extensions to the language? According to the
referenced article, that is exactly what Active Scripting was supposed
to avoid. It suggests that you choose the script language that suits
and then use the appropriate COM object.

Presumably this is for an IE and Windows only intranet, so if you're
looking for a COM object to embed in IE (or any Windows scripting host),
why not use JScript - Microsoft has already added many extensions beyond
ECMAScript and the W3C DOM, including embedding your own COM objects.

Or you could use VB Script - choose your poison.
--
Rob
Aug 29 '05 #4
because I want a javascript with capability-based security.

there are various implementations I could think about adding this too,
but for various reasons demos would be pretty cool if it were the
Active Scripting version. I was of the opinion that it was not doable,
and everything I've seen so far indicates that it isn't

Aug 31 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stephen Kellett | last post by:
Hi Folks, With Mozilla there is a well documented Javascript debugging API that you can call from C/C++. I've been trying to identify if there is a documented API that you can use for the same...
5
by: John Puopolo | last post by:
All: I am writing a .NET 1.1 Windows Forms app in C#. I would like to offer users the ability to script the application via javascript. In the "old days," I would have used the Active...
3
by: Angus Comber | last post by:
Hello Can javascript call/reference COM object. VBScript can do this (as it is from Microsoft). Can javascript? If so how? Angus
26
by: Prisoner at War | last post by:
Hi, All: I have a JavaScript search engine that always causes MSIE 7 to do a top-of-page security "warning" (that top-of-page-bar, and not an "alert" )...but other websites' JavaScripts do not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.