472,980 Members | 1,906 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,980 software developers and data experts.

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.

Jul 21 '05 #1
7 2196

<sc******@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
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.


Make a reference to "Microsoft.ApplicationBlocks.Data.dll".

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

Tom P.
Jul 21 '05 #2
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.

Jul 21 '05 #3
You want to reference the following DLL's:

C:\Program Files\Microsoft Enterprise
Library\bin\Microsoft.Practices.EnterpriseLibrary. Configuration.dll

C:\Program Files\Microsoft Enterprise
Library\bin\Microsoft.Practices.EnterpriseLibrary. Data.dll

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

"hillscottc" wrote:
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.

Jul 21 '05 #4
On my computer, it's located under:

"C:\Program Files\Microsoft Application Blocks for .NET\Data Access
v2\Code\CS\Microsoft.ApplicationBlocks.Data\bin"

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

Jul 21 '05 #5
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 (cm******@online.nospam)" wrote:
On my computer, it's located under:

"C:\Program Files\Microsoft Application Blocks for .NET\Data Access
v2\Code\CS\Microsoft.ApplicationBlocks.Data\bin"

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

Jul 21 '05 #6
Ah, I see where the Version difference caused me some confusion. Thanks
for the help.

Jul 21 '05 #7
Ah - sorry about that. I didn't catch the Enterprise Library section.

Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Novice | last post by:
Hi all, I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web services. I've just recently installed the...
17
by: Karl Irvin | last post by:
To use the Textstream object, I had to set a Reference to the Microsoft Scripting Runtime. This works good with A2000 Is the Scripting Runtime included with A2002 and A2003 so the Reference...
7
by: scott289 | last post by:
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....
1
by: dhussong | last post by:
I am attempting to use Visual Studio 2005 (Visual Basic) and the Enterprise Library 2.0 Data Access Application Block with a Microsoft Access database. I know the names of my Access databases but I...
2
by: Tim::.. | last post by:
Can someone tell me how you change this code for an Oledb connection rather than SQL Server. The code currently uses Microsoft.Data.Access.Application.Block and the SQLHelper object... I need to...
3
by: Mukesh | last post by:
Hi all As per my earlier conversation with Ciaran (thx for reply) I have installed the MS APplication block on the server , when i ran Build Enterprise Library file and Install Services from...
4
by: Mukesh | last post by:
Hi I m using microsoft application blocks Enterprise Library june 2005 with .net framework 1.1 and VStudio2003 And C# as coding language Sql server 2000 database the project is running...
3
by: Mukesh | last post by:
Thx Sloan for the solution. It is working properly under Full trust When i tried it under Medium trust it was giving error Parser Error Message: Required permissions cannot be acquired....
1
by: blesstomz | last post by:
hi..all how can i block viewing the datas in a text boxes while opening a form in ms access.now when i open the form scrolling ma mouse all the datas i entered before are displaying in the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.