Re: COM and Windows control on webpage



COM components normally required registration on the machines on which they
are intended to run. However, if your client machines are all running
Windows XP, you may be able to take advantage of registration-free COM
(although I haven't seen any explicit mention of whether this should work
from an IE-hosted winforms control). See
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx and
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx?side=true
for details.

If you need to support clients running earlier Windows versions, you might
be able to take advantage of the technique described at
http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/01/404433.aspx.
However, for a "small intranet application", I'm guessing that installing
and registering the target COM component on the client machines would
probably be a simpler approach overall...




"poppy" <poppy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FC8E0F09-68DB-4F11-9421-E0D71115A1A8@xxxxxxxxxxxxxxxx
>I have a windows control dll in my root folder and embedded it on a webpage
> which works fine.
> I then tried to make a reference to a COM object in the control which
> needs
> to run on the client machine. I copied the dll for this object into the
> root
> as well.
>
> When I run the web application on my machine it works fine as I have the
> COM
> object registered on my machine.
> I then went to a colleagues machine and ran the .net configuration wizard
> in
> control panel and set the url "http://mymachinename/website/*"; to full
> trust.
> Unfortunatley it did not work as I received a strange COM error.
>
> Can anyone tell me what I am doing wrong ?
> Can a windows control in a webform ever call a com object on the client
> machine ?
>
> It is essential that I do this for a small intranet application I am
> working
> on.
> TIA


.



Relevant Pages

  • Re: Manage Internet Routing
    ... On the client machines at TCP configuration Gateway I have added the ... Windows 2003 will not be able tocontrol what you want to do without ... Infinite Diversities in Infinite Combinations ...
    (microsoft.public.windows.server.networking)
  • NT4 domain and W2K3 Domain on same lan (no interaction required)
    ... >subnet range at a remote site. ... >The NT4 Domain will have no interaction with the Windows ... >Client machines will log into one of the 2 domains only, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Username and password incorrect message when connecting to Windows Server
    ... We have a Windows 2000 domain with mixed clients. ... >> several of our client machines when you try to connect to our server using ... >> when trying to connect to shares on a Windows server via AFP. ... Airport card to Mac ...
    (microsoft.public.macintosh.general)
  • not able to give local admistrative rights
    ... I have windows 2003 sbs server,configured as my domain.Domain is configured ... correctly my client machines are also geeting connected to my domain .But ... machine i tried to give local administrative rights, ...
    (microsoft.public.windows.server.sbs)
  • Trouble Mounting Samba Shares with FC2
    ... has both Windows and Linux servers. ... We're trying to mount a samba share ... With FC1 on our client machines, we were able to use something like this ...
    (Fedora)