|
Could be wrong, Look into using the ADO-object, component of VB. By using the ADO, you can call RPG's that were _converted_ to stored procedures. Hopes this helps, Erik "Schenck, Don" <Don.Schenck@pfizer.com>@midrange.com on 14/03/2001 13:44:40 Please respond to MIDRANGE-L@midrange.com Sent by: owner-midrange-l@midrange.com To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com> cc: Subject: RE: RE: Visual Basic and AS/400 QUESTION: It's possible to call an RPG program from within a VB program, right? And it's possible to create an ILE RPG program with multiple entry points, right?? An "object", if you will. So my question is: Can't you write all the data access routines in ILE RPG, and simple call them from the VB programs?? 'Nother question: HOW does one return a SET of records from the ILE RPG program to VB?? -- Don Schenck Schenck Technical Consulting DonS@SchenckTech.com / www.SchenckTech.com > -----Original Message----- > From: Andy Leisk [mailto:ALeisk@banta.com] > Sent: March 13, 2001 6:37 PM > To: midrange-l@midrange.com > Subject: Re: RE: Visual Basic and AS/400 > > > yes the AS/400 is just another data server, but does any one > have any examples > of how to use an MS ADO Data Control 6.0 OLDEB for accessing > an AS/400 data > object (a physical or logical file). > > > Andy Leisk > Stratagem Inc., I.T. Consultant at Banta Corp. > (Rent-a-programmer and AS/400 computer janitor) > 920-751-4434 > > >>> owner-midrange-l@midrange.com 03/13 8:29 AM >>> > Alan -- > > Don't think about the AS/400 ... just learn VB. The AS/400 is > just another > database server. > > > -- Don Schenck > Schenck Technical Consulting > DonS@SchenckTech.com / www.SchenckTech.com > > > > -----Original Message----- > From: Alan Novick [mailto:mida@pressmantoy.com] > Sent: March 13, 2001 8:53 AM > To: MidRange-L > Subject: Visual Basic and AS/400 > > > What are some good resources for learning about using Visual > Basic with the > AS/400? > > Thanks, > > Alan Novick > Pressman Toy Corp > New Brunswick, NJ > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.