PDA

Click to See Complete Forum and Search --> : ActiveX Controls, VBScript and Java


OneSource
Mar 17th, 2000, 06:26 AM
Greetings.

From the MSDN website:

On an HTML page, your component's functionality is accessed through scripting, such as when events are handled through Visual Basic Scripting Edition (VBScript). For ActiveX controls, scripting is the only way to fully utilize the control's features in a browser.
My question: Can you fully utilize a VB ActiveX Control's features with Javascript or only with VBScript? If the answer to the first question is "only with VBScript", will a webpage with a VB ActiveX control (and VBScript) be fully functional if displayed in Netscape Communicator?

Thanks everyone.

Mar 20th, 2000, 04:01 PM
Can you fully utilize a VB ActiveX Control's features with Javascript or only with VBScript?

You can use "JScript"(MS Javascript, so that means Internet Explorer's interpretation of Javascript) and "VBScript" to do what you want to do with your ActiveX controls.


...will a webpage with a VB ActiveX control (and VBScript) be fully functional if displayed in Netscape Communicator?


Netscape (making yet another bad decision...) will never allow any microsoft product to run in their browser(that is, activex controls) As far as I know there are some Java "wrappers"/"containers" that allow activex controls to be run through Netscape. I can't remember the name of the product but Netscape definitely should of sucked up their pride and enabled ActiveX functionality in their browser.

Personally I wouldn't allow an ActiveX control be downloaded to my machine from the inTERnet. An inTRAnet is a different story though; you've got a much better chance at not downloading a malignant control.

OneSource
Mar 20th, 2000, 07:37 PM
Hi pvb,

Thanks for the information. It was very useful.

However, I was disappointed when you stated the following:

Personally I wouldn't allow an ActiveX control be downloaded to my machine from the inTERnet.

because the ActiveX Control (and web page) that I am developing is designed to be accessed from the inTERnet, but can be used for an inTRAnet too, of course.

I'm glad that you informed me about your reservations. Now I know that I need to reassure the websurfer that my ActiveX control is safe when they come to my site.

Thanks again.