Its most likely a permissions problem. Install the service to run as your
user account and see if that helps.
--
Regards
John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------
"Andrei Prodan" <pr**********@hotmail.com> wrote in message
news:4c****************************@phx.gbl...
Hi everyone,
I have a small piece of code which uses GetObject function
and it is working fine in a windows application developed
under .NET
In a windows service application, the GetObject function
returns an error: "Cannot create ActiveX component"
Does anyone knows why ??
Thank you very much,
Andrei