473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 2240

<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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.