Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need help please, the problem is that i have a user dll in a Pc desktop (user's pc) and i need to use that dll in a web page because dll expose functionality of the user's pc. How i can do it to call that dll from the website?

[removed other language]

:confused:
Posted
Updated 28-Feb-10 1:00am
v2

English only. Buy a book on ASP.NET and read it. Then, stop to think how secure the web would be if a web page could search a users file system for dlls and execute them.

No, you can't do that.
 
Share this answer
 
armlaz777 wrote:
How you think that the problem can be solve?.

Say "it's impossible" isn't an option.


Did you understand the first answer? There is a reason that this is not allowed; it is to protect users from opening web pages that can then execute any code on their system, like trojans, viruses etc.

Well maybe it's possible, but I think you will need to rewrite the web browser to make it happen.
 
Share this answer
 
"Say "it's impossible" isn't an option."

Well, the question you asked is impossbile. Saying 'that's not an option" will not change that.

You can put a ActiveX control inside a webpage, and I'm not sure how much access that would have to the file system. Of course, your users would be warned that what your page does is not secure, and asked if they trust you, but if they already have a dll of yours in their file system, I assume this is not an issue. The question will then become, if that ActiveX control has the access you require. I imagine that depending on what it is your ActiveX control does, that you may find that a lot of anti spyware, anti virus, etc programs will also try to block you.
 
Share this answer
 
Well, this is one way to resolve the problem:

Active X control (made like a dll)

http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx[^]

just try it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900