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
Solved

VB.net 'DataAccess' is not defined

Posted on 2014-09-25
5
190 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 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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