|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Sep 2004
Posts: 109
|
.Net and JS?
Is it possible to load a .Net library with Javascript?
|
|
|
|
|
|
#2 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
You can't load a server library (i.e. .NET) using client side scripting.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Sep 2004
Posts: 109
|
What about loading it from an extension for Firefox?
|
|
|
|
|
|
#4 |
|
Come in Ray...
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. |
|
|
|
|
|
#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.
|
|
|
|
|
|
#6 |
|
Come in Ray...
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|