aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes call activex dll through javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "call activex dll through javascript" Watch "call activex dll through javascript" New topic
Author

call activex dll through javascript

ssl vijay
Greenhorn

Joined: Sep 03, 2001
Posts: 4
hai friends,
i have a one dll which is developed in visual basic. i want's to call this dll from java script.
yours,
vijayanand
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Assuming that the .dll is going to be distributed to your users somehow, you can call is using the following:

However, if you are not planning to distribute the .dll to your users, then you must consider the following:
1) If the .dll is part of a standard system install, you can just make use of it, assuming that it is present. It may not be a bad idea to test the validity of your object before trying to call its methods, just in case.
2) If the .dll is custom, you must make it available to your users in some form. If you don't distribute it, you will have to put it in server-side code or use it client-side via RDS or a similar technology that doesn't require your users to have a local copy.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: call activex dll through javascript