I found something for C#. I will try it out and let you know what I come up with. -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Soronel Haetir Sent: Monday, October 29, 2012 11:27 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: Getting the exact name of a com object You also need the ComVisible attribute (System.Runtime.InteropServices.ComVisibleAttribute) set to true either on an assembly wide basis or on a per-type basis. i would also suggest checking the registry to make sure the required information is actually there. And that just allows COM object creation to work, again, if you actually want to use GetObject you will have to register the already existing instance with the running object table. My quick searches would seem to indicate that .net does not provide an ease-of-use wrapper for that task. On 10/28/12, Andy B. <sonfire11@xxxxxxxxx> wrote: > All C# requires is that I check the "register for com" in the build > page of the properties window. I still don't seem to be able to get > this to work. I don't know what I am missing. > > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Soronel Haetir > Sent: Sunday, October 28, 2012 8:23 PM > To: jawsscripts > Subject: [jawsscripts] Re: Getting the exact name of a com object > > Are you sure the COM class has been registered? (That the ProjID > "vs_jaws.Connect " references the correct CLSID and that the CLSID has > all the required information?) > > Also, for GetObject to work, you will need to register the actual > active instance, using the windows API that would be done with a call > to RegisterActiveObject, but if you are doing this in something other > than c/c++ I'm not sure what your language requires. > > On 10/28/12, Andy B. <sonfire11@xxxxxxxxx> wrote: >> I am now trying to work on getting the name of the class for my com >> object. >> The literal name is vs_jaws.Connect (including the namespace/class name). >> Unfortunately, GetObject() doesn't seem to like this idea very well. >> Any ideas? >> >> >> >> >> >> >> __________ >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> >> > > > -- > Soronel Haetir > soronel.haetir@xxxxxxxxx > __________ > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > > __________ > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > -- Soronel Haetir soronel.haetir@xxxxxxxxx __________ View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________ï View the list's information and change your settings at http://www.freelists.org/list/jawsscripts