473,508 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2261

<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
2935
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
4178
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
374
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
1934
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
2494
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
1799
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
1907
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
1718
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
1274
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
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.