Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

call activex dll through javascript

 
ssl vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic