Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Databases (https://www.askmehelpdesk.com/forumdisplay.php?f=444)
-   -   Acessing a database in VB .Net 2003 (https://www.askmehelpdesk.com/showthread.php?t=11355)

  • Jul 27, 2005, 10:43 PM
    jenkinsdjj
    Acessing a database in VB .Net 2003
    I have tried many times to open an database and an SQLServer2000 database from VB .Net 2003. The import statements and code syntax is correct and has been checked over and over. I have also tried various published examples and still I get the error message "No source code at this point". I there likely to be a bug fix I have not applied?

    Typical code I have used is as follows:

    Imports System.Data.OleDb

    Public Sub CheckFiles()
    Dim dbs As New OleDbConnection

    dbs.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + _
    "Data Source=C:\VB .Net Projects\Collectivist v4" + _
    "\Collectivist v4\bin\Access Docs\Collectivist.mdb;"
    dbs.Open()

    'other code here

    End Sub

  • All times are GMT -7. The time now is 12:58 PM.