
December 10th, 2002, 10:47 AM
|
|
Junior Member
|
|
Join Date: Dec 2002
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
using COM from different machine
I have a windows service written in Vb.Net. I am referring to a COM (which is done using a Class Library in Vb.Net and registered as an assembly on my machine). I am creating an object in my service to refer to a method of this COM
Example:
oPdfMerge = createObject(ProjectName.NameSapace.ClassName)
oPdfMerge.Merge(filename)
In the above example i am calling the Merge method of the COM. Please note that i am not using any add reference or Imports statement for creating this object. This service runs fine on my machine and calls the method of the COM(or class library).
My problem is that whenever i install this service on a different machine, i get an error of cannot create object.
Please could someone give me a detailed help on how to make this COM accessible on any machine. Please give me details step by step. I will really appreciate that. Thank you
|