G
Guest
I wrote a VB.NET desktop utility that uses "DLLSelfRegister" function from
the vb6stkit.dll
However,I have turned the
application into a service (customer's requirement) running in an
administrators account.
Now DLLSelfRegister fails to register the component, returning a value
of FAIL_OLE = 3 which means "unable to initialize OLE to register file"
I can shell to RegSvr32.exe from my service and that works ok,
but doesnt return a success or failure value.
Is there something about services that prevents this working?
Is there anyway to register an activex dll or ocx file from vb.net that
will work from in a service, or is there anything I can do to my service
to make vb6stkit.dll work?
The activeX dlls and ocxs are used by vb6 applications, so they do need to
be registered.
Thanks
the vb6stkit.dll
However,I have turned the
application into a service (customer's requirement) running in an
administrators account.
Now DLLSelfRegister fails to register the component, returning a value
of FAIL_OLE = 3 which means "unable to initialize OLE to register file"
I can shell to RegSvr32.exe from my service and that works ok,
but doesnt return a success or failure value.
Is there something about services that prevents this working?
Is there anyway to register an activex dll or ocx file from vb.net that
will work from in a service, or is there anything I can do to my service
to make vb6stkit.dll work?
The activeX dlls and ocxs are used by vb6 applications, so they do need to
be registered.
Thanks