×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Frank,

the "client access express programming" manual is good to have.

Learn how to use VB classes and create activex dlls.  There is a lot of cae
function "wrapping" that needs to be done.

for example, the cae ado driver does not support the "seek" method.  This
means you cant chain to a rcd in a file like ado code that is pointed to an
sql server or access database file.  You have to use the CAE bookmark
support which does provide a seek method. it returns a RRN. The, in my
opinion,  intentionally limited IBM CAE ADO provider can read a rcd by RRN.
So to seek, your code has to bookmark chain, then ado read by RRN. A VB
class can be written to encapsulate all of this.  It is just a lot of extra
work.

for pgm calls ...

the cae programming manual documents a collection of c++ accessible
"distributed pgm call" functions that enable the calling of a pgm on the
as400 and the passing of parameters.  My first attempt at using the VB
Declare stmt to call the cae functions has failed.  So I am writing an
interface dll in c++.  I call from my vb pgm to my c++ dll, then my c++ dll
calls the cae functions.  Once your VB pgm can all the DPC APIs there are a
series of api calls that have to be performed to execute the actual as400
pgm call.


Steve Richter


----- Original Message -----
From: "Frank W. Kany IV" <frank.kany@burr-reid.org>
To: <midrange-l@midrange.com>
Sent: Monday, April 22, 2002 1:48 PM
Subject: Visual Basic Front End


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Does anyone know of any good resources where I can learn how to use Visual
Basic 6 as a front end to the AS/400.  I'd like to learn how I can use VB6
to call RPG and CL programs.  If anyone has any *.pdf manuals they can send
me or web sites with this information, that would be helpful.

TIA,

Frank
frank.kany@burr-reid.org
--


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.