Calling COM Components on Client Machine from WebForm

  • Thread starter Thread starter Dan
  • Start date Start date
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.
 
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
 
Back
Top