Solved

VB.net 'DataAccess' is not defined

Posted on 2014-09-25
5
188 Views
Last Modified: 2014-09-25
Hi
In the following VB.net code I get the error 'DataAccess' is not defined

Dim cnn As DataAccess = New DataAccess(CONNECTION_STRING)

I have the following at the top of my module. What else do I need
Imports System.Data
Imports System.Data.SqlClient
0
Comment
Question by:murbro
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
louisfr earned 250 total points
ID: 40343539
What is DataAccess supposed to be?
If it's a third-party assembly, refer to their documentation.

Maybe you need a SqlConnection object instead.
0
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 40343714
Where did you find DataAccess? It is not pure .Net for sure?
0
 

Author Comment

by:murbro
ID: 40343787
I saw it at this link
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 40343794
forgot to paste the link?
0
 

Author Closing Comment

by:murbro
ID: 40344659
Thanks for the help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create XML 5 46
Close word object 13 38
Help with WinAPI Signatures in VB.NET for SetWindowSubclass 2 35
VS.net 2010 11 24
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now