I have a C# class library
project in Visual Studio 2010
to which I have added a Web Reference to the WSDL pointing it to my web service.
I can see that the proxies created in Visual Studio are fine. (see below screenshot)
Goal: My final goal is to be able to package and take these proxies to VBA (Excel 2010) and be able to call Web methods there.
I generated a TLB out of this DLL by enabling 'Make COM visible'
and 'Register for COM Interop'
.
Problem: When I open the TLB in Oleviewer, I see that the properties and methods are getting lost on the way (see below screenshots)
Environment:
- Visual Studio 2010 Professional (Target platform set to x86)
- Windows 7 x64
- Office 2010 32-bit
- .NET 4.0
Can someone help me know if I am missing something in generating a valid TLB from a DLL?