Solved

calling dll from javascript

Posted on 2007-11-30
1
842 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 86
split53 challenge 7 96
parse convert xml feed to text (python) 2 82
This code tracks birthdays 3 73
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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