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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COBOL and VB

Status
Not open for further replies.

emorphis

Programmer
Jun 5, 2001
5
US
I have a Net Express 3.0 COBOL dll that is to be called from a Visual Basic 6 program. The problem is that I cannot get the VB program to recognize the entry point on the dll.

Is there anybody that is familiar on how I can set up the VB program to find the entry point?
 
From what I see on Net Express Cobol, it produces ActiveX DLL i.e. Com components, not stand alone DLLs. If it is an ActiveX Dll then it must be referenced in the VB project / References and "called" by createing an object instance of the class using "As New" or "CreatObject" and then by acessing the properties and methods. Compare Code (Text)
Generate Sort in VB or VBScript
 
From what I see on Net Express Cobol, it produces ActiveX DLL i.e. Com components, not stand alone DLLs. If it is an ActiveX Dll then it must be referenced in the VB project / References and "called" by createing an object instance of the class using "As New" or "CreatObject" and then by acessing the properties and methods. Compare Code (Text)
Generate Sort in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top