Solved

calling dll from javascript

Posted on 2007-11-30
1
840 Views
Last Modified: 2010-05-19
I have to call a dll from javascript.How I have to call that.Kindly help me in this.
the dll in iis server...

thanks
Mahesha M
0
Comment
Question by:annapolistech
1 Comment
 
LVL 25

Accepted Solution

by:
InteractiveMind earned 500 total points
ID: 20381430
JavaScript cannot directly load a DLL, but you can do this indirectly, using ActiveX:

<script language="JavaScript">
try {
var yourComp = new ActiveXObject("server.type","location");
//...
yourCom.yourFunction(parameters here);
} catch (e) {
alert("error: "+e.message);
}
</script>

This may be of some help:
http://msdn2.microsoft.com/en-us/library/7sw4ddf8.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
word0 challenge 4 64
java  and programming certification ? 4 86
Modify a small python script 19 94
What are programming codes and how do they work? 7 61
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now