473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

webservice returning dataset (recordset) to visual basic 6 app?

Hi everyone!

Is there any way I can write a web service that would be called from an old
vb6 app and returning a dataset which would return to vb6 as recordset?

Can anyone provide me with an example?

Thanks in advance!
May 6 '07 #1
4 3703
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:A7**********************************@microsof t.com...
Hi everyone!

Is there any way I can write a web service that would be called from an
old
vb6 app and returning a dataset which would return to vb6 as recordset?
Is there any way for a VB6 app to turn XML into a recordset? If so, then
that would be the kind of XML you would want your web service to return.
--
John Saunders [MVP]
May 6 '07 #2
"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
Is there any way for a VB6 app to turn XML into a recordset?
Sure - why not...? It's just a text file after all...
http://www.google.co.uk/search?sourc...B220&q=VB6+XML
--
http://www.markrae.net

May 6 '07 #3
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
>Is there any way for a VB6 app to turn XML into a recordset?

Sure - why not...? It's just a text file after all...
http://www.google.co.uk/search?sourc...B220&q=VB6+XML
Thanks, Mark,

Actually, the following query is closer to what I was getting at:

http://www.google.co.uk/search?hl=en...+ado+2.5&meta=

One of the articles that finds was most helpful:

Save Recordsets To/Load Recordsets From XML Files Using ADO 2.5
(http://www.freevbcode.com/ShowCode.Asp?ID=1204). It shows that one should
research the adPersistXML format in calling the Save method of an ADO
recordset to produce XML that ADO can then turn into an recordset again.
That is the format you would want to transport in your web service.
--
John Saunders [MVP]
May 6 '07 #4
Well SOAP could be done from COM capable apps like VB, so I guess you could
use that to return a valid recordset. This should give you a pointer.

http://www.devarticles.com/c/a/ASP/A...g-ASP-and-VB6/

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:A7**********************************@microsof t.com...
Hi everyone!

Is there any way I can write a web service that would be called from an
old
vb6 app and returning a dataset which would return to vb6 as recordset?

Can anyone provide me with an example?

Thanks in advance!

May 6 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was...
3
by: James | last post by:
I need to create a C# web service that returns a recordset for an ASP classic applicaiton to consume. My problem is that so far the only thing that I have found I can return is a dataset using...
6
by: JimmyKoolPantz | last post by:
I have been given the task of converting a program from VFP (visual foxpro) to Visual Basic.net. My question is "Is it possible to generate a DBF file Dynamically(at runtime) using Visual...
1
by: hunkgym | last post by:
Good Day! Would be appreciate if there is solution for the following problem: - In VB.Net of Visual Studio.Net 2003, developer can click and drag a table listed in the Server Explorer from a...
1
by: C a r l o s A n t o n i o | last post by:
Hello all, I've seen this ASP.NET tutorial: "Creating a data access layer". It worked prefectly well in asp.net and vb.net 2005. Now, i want to do the same with VB 2005 Express Edition, but...
2
by: trezraven | last post by:
I am creating a template in Word 2007 using Visual Basic Editor. I am pulling information from an Access database. I know this is probably a stupid question, but for the life of me I can't figure out...
1
by: leaf0209 | last post by:
Hi, I am new to this forum and have been troubled by this problem for the past few days. I would appreciate if someone would take a look and help me out. I am using vb express 2005 edition... I...
4
by: Chris Asaipillai | last post by:
Hi there My compay has a number of Visual Basic 6 applications which are front endeed onto either SQL Server or Microsoft Access databases. Now we are in process of planning to re-write these...
6
by: Vince | last post by:
Hello all, I am using Visual Basic to open a saved query and then save information in the query to an array for later use. The problem is that the same query shows different results when opened...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.