CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11
  1. #1
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Reports in VC++6.0

    Hi all.
    I need to make reports in VC++6.0
    these reports are based on database queries or tables..
    what is the starting point ? please help and note that I can't use third party components..
    any tutorials, samples ?
    I know SQL , ADO ,, the problem is just with reports.
    thank you in advance

  2. #2
    Join Date
    Jun 2003
    Location
    Maryland
    Posts
    53
    If you are looking to display and format data returned from a recordset, search this site or CodeProject for articles (there are several useful ones) about using a list control with report style.

  3. #3
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    Thank you..
    but i need to use crystal reports , or any components available with visual studio..
    is crystal reports available for download ? even old versions ?
    Last edited by hspc; November 25th, 2003 at 08:15 AM.

  4. #4
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515
    Originally posted by hspc
    Thank you..
    but i need to use crystal reports , or any components available with visual studio..
    I can't use third party components..
    I thought Crystal Reports was a 3rd party component...
    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

  5. #5
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    Originally posted by vicodin451
    I thought Crystal Reports was a 3rd party component...
    i thought it's vailable now as a part of the visual studio..

  6. #6
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515
    i thought it's vailable now as a part of the visual studio..
    It is, but it's not a Microsoft product. Even if it was, a MS product would be third party to you, no?

    Argh, but this isn't helping you. If you can use Crystal, then I say go for it.
    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

  7. #7
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515
    There are Crystal Reports samples in MSDN.

    "Crystal Reports for Visual Studio .NET"
    "Samples"

    From the Table of Contents in the MSDN Library:
    Code:
    ".NET Development"
        "Visual Studio .NET"
            "Product Documentation"
                "Developing with Visual Studio .NET"
                    "Designing Distributed Applications"
                        "Crystal Reports"
    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

  8. #8
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    thank you..
    another question : if i use VC++.net (MFC) with crystal reports ,, will i have to install the .NET framework on the client machine ?

  9. #9
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515
    Originally posted by hspc
    thank you..
    another question : if i use VC++.net (MFC) with crystal reports ,, will i have to install the .NET framework on the client machine ?
    Given the dependence of CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE.DLL on MSCOREE.DLL, that would seem to be the case...

    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

  10. #10
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210
    thank you..
    you are helpfull

  11. #11
    Join Date
    Dec 2003
    Posts
    3

    Unhappy Crystal reports parameters passing vc++ 6.0 ICRReport

    I use CR with Visual C++ 6.0 and I don't use CR Active X viewer because it does not export correct the reports.
    Instead, I access the reports preview using "cpeaut32.h" (ICRApplication, ICRReport, ICRView etc.).
    I need to pass some parameters at runtime to the report, but I couldn't find a way. There is a an interface ICRParameterFieldDefinition but i couldn't figure how to use it.
    It would be very helpful an advice or example about how can I can do this.

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