CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    32

    How to connect the Mainframs database from VC++ dialog base application?

    I am developed a dialog base application, and i am having a mainframe server, then how to connect with my dialog base application to Mainframe server, for retrieving and sending data.


    kindly help my.

    Thanking you

    u r ever ravirams

  2. #2
    Join Date
    Oct 2000
    Location
    India
    Posts
    4,620

    Thumbs up Re: How to connect the Mainframs database from VC++ dialog base application?

    Hi,

    You can use OLEDB to do the trick.

    From the MSDN:

    OLE DB is an open standard for accessing all kinds of data — both relational and non-relational data including: mainframe ISAM/VSAM and hierarchical databases;
    All luck and have a great day.

    Regards,
    V.Girish

    Visit www.geocities.com/contactgirish for Source code, Tutorials, FAQs and Downloads.

  3. #3
    Join Date
    Aug 2001
    Posts
    507

    Re: How to connect the Mainframs database from VC++ dialog base application?

    Make an ODBC connection to ur data base, from the control panel.


    Now in VC ur project,

    Press Ctrl + W.

    Insert a class, that is derived from CRecordset.

    Follow the steps.

    enjoy ur self.

    If you found my reply to be useful, please dont hesitate to rate it.


    DO NOT kick the Axe if it doesnt fall on your foot.

    Salman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured