Microsoft Data Access Application Block beginer help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • scott289@gmail.com

    Microsoft Data Access Application Block beginer help

    I have successfully downloaded the Enterprise Library and the data
    access block (C#). I am able to compile and run the quickstart
    application.

    So I would like to try the DAB in a new project. But I was unable to
    find any instructions on referencing the neccessary DLLs in any of the
    Help files or walkthroughs. Did I miss it somewhere?

    Which DLLs do I reference? The walkthroughs seem to tell me how to use
    SqlHelper and such, but I cant see any mention on how to make reference
    to it. Is there a help page I am missing, or another walkthrough that
    includes this important first step?

    Thanks.

  • Henry Padilla

    #2
    Re: Microsoft Data Access Application Block beginer help


    <scott289@gmail .com> wrote in message
    news:1113505199 .394474.82140@o 13g2000cwo.goog legroups.com...[color=blue]
    >I have successfully downloaded the Enterprise Library and the data
    > access block (C#). I am able to compile and run the quickstart
    > application.
    >
    > So I would like to try the DAB in a new project. But I was unable to
    > find any instructions on referencing the neccessary DLLs in any of the
    > Help files or walkthroughs. Did I miss it somewhere?
    >
    > Which DLLs do I reference? The walkthroughs seem to tell me how to use
    > SqlHelper and such, but I cant see any mention on how to make reference
    > to it. Is there a help page I am missing, or another walkthrough that
    > includes this important first step?
    >
    > Thanks.
    >[/color]

    Make a reference to "Microsoft.Appl icationBlocks.D ata.dll".

    I'm not sure where it says this in the help file.

    Tom P.


    Comment

    • hillscottc

      #3
      Re: Microsoft Data Access Application Block beginer help

      And where is that file found? Though I have compiled and run the
      walkthroughs, when I search my hard drive, i dont see that file
      anywhere.

      Comment

      • John Papa

        #4
        Re: Microsoft Data Access Application Block beginer help

        You want to reference the following DLL's:

        C:\Program Files\Microsoft Enterprise
        Library\bin\Mic rosoft.Practice s.EnterpriseLib rary.Configurat ion.dll

        C:\Program Files\Microsoft Enterprise
        Library\bin\Mic rosoft.Practice s.EnterpriseLib rary.Data.dll

        // John Papa
        // http://codebetter.com/blogs/john.papa



        "hillscottc " wrote:
        [color=blue]
        > And where is that file found? Though I have compiled and run the
        > walkthroughs, when I search my hard drive, i dont see that file
        > anywhere.
        >
        >[/color]

        Comment

        • Clint (cmueller@online.nospam)

          #5
          Re: Microsoft Data Access Application Block beginer help

          On my computer, it's located under:

          "C:\Program Files\Microsoft Application Blocks for .NET\Data Access
          v2\Code\CS\Micr osoft.Applicati onBlocks.Data\b in"

          Then ./Debug or ./Release depending on whether you compiled the project
          in debug or release mode.

          Comment

          • John Papa

            #6
            Re: Microsoft Data Access Application Block beginer help

            Just for clarification .... Looks like Clint's version is the Microsoft Data
            Access Application Block v 2 and the one I posted is for Enterprise Library's
            version of DAAB.

            // John Papa
            // http://codebetter.com/blogs/john.papa

            "Clint (cmueller@onlin e.nospam)" wrote:
            [color=blue]
            > On my computer, it's located under:
            >
            > "C:\Program Files\Microsoft Application Blocks for .NET\Data Access
            > v2\Code\CS\Micr osoft.Applicati onBlocks.Data\b in"
            >
            > Then ./Debug or ./Release depending on whether you compiled the project
            > in debug or release mode.
            >
            >[/color]

            Comment

            • hillscottc

              #7
              Re: Microsoft Data Access Application Block beginer help

              Ah, I see where the Version difference caused me some confusion. Thanks
              for the help.

              Comment

              • Clint (cmueller@online.nospam)

                #8
                Re: Microsoft Data Access Application Block beginer help

                Ah - sorry about that. I didn't catch the Enterprise Library section.

                Comment

                Working...