Calling COM Components on Client Machine from WebForm

D

Dan

Is it possible to call a COM component which resides on client machine from
within a webform? In other words, you load
http://www.mystuff.com/myform.aspx in your browser, and then click a button,
and the event code for that button creates a COM component on the client
machine and does something with it.
 
A

Alvin Bruney [MVP]

I believe it's possible, but you would need permissions to access the
desktop. By default, webpages run under the doctrine of least priviledge
meaning that they can't do desktop stuff. Additionally, this code is
problematic because, the webpage cannot know in advance that the COM
component will exist, or where it is housed. It's easier to have the webpage
run the component from the server and have IE download the object on demand
to the client. IMO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top