Solved

calling dll from javascript

Posted on 2007-11-30
1
843 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using VBscript & RegEx, how can I match lines starting with Oracle word 17 92
VB.net and sql server 4 54
Survey branching tutorial 11 38
"lblTime is not declared" 3 29
A short article about problems I had with the new location API and permissions in Marshmallow
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

735 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