Results 1 to 4 of 4

Thread: Visual Basic 6 and Webservices

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    Question Visual Basic 6 and Webservices

    Hi there,


    I writing a webservice using visual basic .net that returning a dataset type to return some data and i write a visual basic 6 client to call the web services using the SOAP. The problem here is, i do not know how to accept the dataset on my visual basic 6 client program, because there is no such dataset on visual basic 6.


    Any help greatly aprreciated

    Thanks in advance

    Regards

    Xienix

  2. #2
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: Visual Basic 6 and Webservices

    Instead of passing back DataSet you can pass the XML file back to the VB 6 client. In VB 6 you can use the XML file for whatever purpose you want.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    2

    Re: Visual Basic 6 and Webservices

    Hi Shuja,

    Thanks for your response. Do you have any good reference where i can see how the webservice pass the xml file and how the visual basic 6 send a request and retrieve the xml file ? Best if it show how to pass the parameter to the webservice as well.


    Sorry, i'm just beginner in this area, i try to find , but like no much info.

    Thanks in advance

    Xienix

  4. #4
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: Visual Basic 6 and Webservices

    You can get the XML from the dataset and save it in a string. Return that string from your webmothod. In VB 6 you can use the String passed back and save it as an XML file.

    Do what ever operations you need to do on the XML file and then pass it back (if needed as a string) to the web method.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width