Solved

VB.net 'DataAccess' is not defined

Posted on 2014-09-25
5
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 70

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 70

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with exporting to excel 4 45
Sql server, import complete table, using vb.net 9 52
Error message when using PrintSocket.Send 7 27
How to limit User Input 2 33
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
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…

749 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