Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 calling MF Cobol 4.0.38

Status
Not open for further replies.

AZbyoung

Programmer
Feb 10, 2011
2
0
0
US
I'm looking for an example of VB6 calling a cobol pgm.
My purpose is to have the cobol pgm read ISAM files and pass data back to VB6 to populate a mySQL data warehouse.

I'm running MF Cobol 4.0.38 on XP professional 2002 with sp3.

Compile and link examples would be much appreciated as well.

I've found the VB-Call-COBOL.zip on the MF site, but it appears to be for .net, so doesn't apply...
 
Make a DLL with the COBOL calls and then interface it with your VB6. I don't know the process with the MF product, so you'll have to have someone else fill that in for you. But the documentation should tell you easily enough how to make a DLL in MF COBOL.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top