Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-14-2006, 10:15 AM   #1
Member (7 bit)
 
Join Date: Sep 2004
Posts: 109
.Net and JS?

Is it possible to load a .Net library with Javascript?
Kulag is offline   Reply With Quote
Old 01-15-2006, 12:49 PM   #2
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
You can't load a server library (i.e. .NET) using client side scripting.
faulkner132 is offline   Reply With Quote
Old 01-16-2006, 04:22 AM   #3
Member (7 bit)
 
Join Date: Sep 2004
Posts: 109
What about loading it from an extension for Firefox?
Kulag is offline   Reply With Quote
Old 01-16-2006, 07:27 AM   #4
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
I'm not sure what you mean by this. The only way you could technically load a .NET library would be if the client had it installed on their machine. Even so, this may or may not work as the browser security may not allow it.

Worth a shot though if you know your users are using Windows with .NET installed.
faulkner132 is offline   Reply With Quote
Old 01-17-2006, 03:44 PM   #5
Member (7 bit)
 
Join Date: Sep 2004
Posts: 109
I guess I should really talk to the devs at Mozilla about this then. Thanks for the help tho.

I haven't even started working on a script, I was just wondering if it was possible, because I may want to use it in the future, probably I won't have anything done before Windows Vista is released anyway. And I should hope that Vista comes with .Net.
Kulag is offline   Reply With Quote
Old 01-18-2006, 08:44 AM   #6
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
It's all going to boil down to security. You are trying to access a system API through a browser which, if done by someone malicious, is very dangerous. The .NET framework runs under the same security settings of the logged in user which, in Windows, usually gives root access to the computer.

I would encourage you to try to find another way to do what you are trying to do, because most likely you are going to either run into a security or client scripting limitation.
faulkner132 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:03 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2