Solved

VB.net 'DataAccess' is not defined

Posted on 2014-09-25
5
186 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

18 Experts available now in Live!

Get 1:1 Help Now