Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 16th, 2004, 02:14 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing DLL using Java Script

Hi All

DLL's are registered on each client machine and I want to access them from my JSP pages on the server (IBM Web sphere). Please let me know if its possible?

If possible, kindly attach the code snippet for the same.

Thanks
Gopal

 
Old September 16th, 2004, 02:26 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

It's not possible to access anything on the client from the server unless you were on an intranet where a UNC mapping was possible.

--

Joe
 
Old September 17th, 2004, 02:50 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

You can use JavaScript to invoke client side dll's

var objXMLHTTP = new ActiveXObject("Msxml2.XMLHTTP.3.0");

this is opening the Msxml2 dll from javascript

Ganesh


 
Old September 17th, 2004, 03:05 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Quote:
quote:Originally posted by r_ganesh76
 You can use JavaScript to invoke client side dll's

var objXMLHTTP = new ActiveXObject("Msxml2.XMLHTTP.3.0");

this is opening the Msxml2 dll from javascript

Ganesh
The question was how to utilise client-side DLL's from the server, where would this code be running?

--

Joe
 
Old September 17th, 2004, 03:52 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

The topic is "Accessing DLL using Java Script" hence proivded the client side script


 
Old September 17th, 2004, 04:45 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Quote:
quote:Originally posted by r_ganesh76
 The topic is "Accessing DLL using Java Script" hence proivded the client side script
JavaScript != client-side script.

--

Joe





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing a .NET DLL from Classic ASP crmpicco ASP.NET 1.0 and 1.1 Basics 11 September 9th, 2007 09:51 PM
Problem accessing .dll methods,interfaces.. stevenzambas C# 0 May 8th, 2007 10:30 AM
Accessing DTS scripting object in ActiveX script. panakiom SQL Server DTS 0 August 22nd, 2005 08:41 AM
Accessing dataset obj (in .dll) from an aspx page arulkumar ASP.NET 1.0 and 1.1 Basics 2 August 8th, 2005 10:29 PM
Java vs Java Script functions joemorrison74 J2EE 0 July 6th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.