G
Guest
We have the following setup. A VB6 application calls a .NET COM component
that acts mainly as a forwarding system calling methods on a web service.
When you open up the VB6 object browser and look at the methods exposed by
the .NET COM Component, you will also see the public methods exposed by the
WebService. I do not want the VB6 application to know about the WebService.
If I were to define the WebService public methods as ComVisible(false), then
they would not be exposed to the .NET COM Component. I can however, add this
attribute to the Web References\Reference.cs file present in the .NET COM
Project.
Is there a way to have the calling of "Update Web Reference" and "Add Web
Reference" to automatically add the ComVisible(false) attribute to each class
in the Reference.cs file generated?
that acts mainly as a forwarding system calling methods on a web service.
When you open up the VB6 object browser and look at the methods exposed by
the .NET COM Component, you will also see the public methods exposed by the
WebService. I do not want the VB6 application to know about the WebService.
If I were to define the WebService public methods as ComVisible(false), then
they would not be exposed to the .NET COM Component. I can however, add this
attribute to the Web References\Reference.cs file present in the .NET COM
Project.
Is there a way to have the calling of "Update Web Reference" and "Add Web
Reference" to automatically add the ComVisible(false) attribute to each class
in the Reference.cs file generated?