none
Cannot start your application. The workgroup information file is missing or opened exclusively by another user. RRS feed

  • Question

  • I am building a windows form application and have integrated an oracle database using ODT for visual studio 2012....I am posting the code below

    Imports System.Data.OleDb
    Imports System.Data.Odbc

    Public Class Form1

        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            Dim connection As OleDbConnection = New OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=MyDB;PERSIST SECURITY INFO=True;USER ID=SYSTEM;")
            Dim cmd As OleDbCommand = New OleDbCommand("delete * from emp;")
            connection.Open()
            cmd.ExecuteNonQuery()
            connection.Close()

        End Sub
    End Class

    this is just a sample code which i created to get used to the commands...but on execution it throws the above xception...PLZ HELP

    Sunday, September 22, 2013 6:21 PM

Answers