I've little experience with .NET but have seen its cool feature of being able to add a Web Reference to a project and it builds the classes for you.
I am coding in VB6 and would like to use the .NET generated code via a DLL but can't get it to work. Can someone show me how to do the following:
1) Create a VB2005 project, adding the Web Reference https://api.betfair.com/global/v3/BFGlobalService.wsdl
2) Turn this into a DLL that can be referenced in VB6, which exposes the methods and attributes with Intellisense.
3) Show me the basic construction for calling one of the web services from the VB6 environment.
So far, I have managed to do the following:
1) Can create the VB2005 project and add the web reference.
says I need to "Register for COM Interop," which I've done, and add "<ClassInterface(ClassInte
_" to my class statement. The web reference shown above creates 23 methods from this service, so do I need to add this to every class created? If so, where, because I can't seem to put it anywhere that works.
Without completing the steps in 2, Intellisense will not show the methods and attributes for this DLL, which is what I need. Can someone help me through the steps needed to get this DLL working in VB6?