Last post Nov 25, 2008 03:56 AM by skynyrd
Jan 22, 2008 05:58 AM|skynyrd|LINK
When I create COM DLLs with VB6, the names of the methods are always
visible on the Component Services Administrative Tool.
Now that I'm using .NET Serviced Components, they don't apear anymore, when I expand Interfaces and Methods. I wonder why...
Maybe I have to declare some atribute to make the interfaces public?
Jan 29, 2008 03:06 AM|Zhao Ji Ma - MSFT|LINK
There is an attribute called ComVisibleAttribute can be used to set the visibility:
Public Class class1
Jan 29, 2008 05:23 AM|skynyrd|LINK
Just what I needed to know.
Jan 29, 2008 07:38 AM|skynyrd|LINK
I'm sorry but it didn't work as I expected.
Maybe the methods are visible to COM. OK!
But why can't I see the signature of the method on the Component Services Administrative Tool ?
When I expand the methods box there is just nothing on it
When I expand the Interface box I can see the Method's name. But not the signature.
If this was a vb6 com+, I would see that the BusinessProcess1 Method recives an Integer and returns a String
I'm using this command to register into COM+:
and this Arguments: $(TargetName)$(TargetExt)
Thank you for your help anyway!
Nov 23, 2008 08:24 AM|Hoehlentroll|LINK
I found the Solution.
Nov 25, 2008 03:56 AM|skynyrd|LINK
Wow I had lost my hopes on this one. Good job!