Computing.Net > Forums > Programming > connecting to access via VB.NET

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

connecting to access via VB.NET

Reply to Message Icon

Name: shelly121
Date: February 21, 2005 at 03:43:59 Pacific
OS: -
CPU/Ram: -
Comment:

plz help!!im tryn to connect my mortgage application in vb.net to my database in access. I have added the data adapter using the wizard,which adds the connection too. and this is my code on the code page:
BUT IT DOESNT RECOGNISE "ADODB CONNECTION():-IT SAYS ITS NOT DEFINED??
"Imports System.IO
Public Class frmClients
Inherits System.Windows.Forms.Form
Dim CN As New ADODB.Connection()
Dim RS As New ADODB.Recordset()

#Region " Windows Form Designer generated code "

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub



Sponsored Link
Ads by Google

Response Number 1
Name: SN
Date: February 21, 2005 at 08:51:45 Pacific
Reply:

Sounds like you haven't added a reference to ADO. This should help: http://support.microsoft.com/default.aspx?scid=kb;en-us;308611.

-SN


0

Response Number 2
Name: bildo
Date: February 24, 2005 at 06:20:19 Pacific
Reply:

are u wanting to connect ur vb to access, so that vb can read out of access, or insert into it?

bildo


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: connecting to access via VB.NET

Connecting to telnet Using VB www.computing.net/answers/programming/connecting-to-telnet-using-vb/13150.html

How to delete in VB.NET www.computing.net/answers/programming/how-to-delete-in-vbnet/14490.html

vb.net and db www.computing.net/answers/programming/vbnet-and-db/14385.html