Click here to Skip to main content
15,886,634 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionprint a bitmap backround Pin
PaulaM22-Oct-08 22:41
PaulaM22-Oct-08 22:41 
AnswerRe: print a bitmap backround Pin
Thomas Stockwell24-Oct-08 4:20
professionalThomas Stockwell24-Oct-08 4:20 
QuestionTask list Pin
boiDev22-Oct-08 22:24
boiDev22-Oct-08 22:24 
AnswerRe: Task list Pin
Tom Deketelaere22-Oct-08 23:19
professionalTom Deketelaere22-Oct-08 23:19 
Questiondrag and drop operation in treeview Pin
tracywitty22-Oct-08 21:53
tracywitty22-Oct-08 21:53 
AnswerRe: drag and drop operation in treeview Pin
led mike24-Oct-08 7:22
led mike24-Oct-08 7:22 
AnswerRe: drag and drop operation in treeview Pin
Patrick Etc.3-Nov-08 17:12
Patrick Etc.3-Nov-08 17:12 
QuestionProblem with .ldb file Pin
Venumunna22-Oct-08 15:48
Venumunna22-Oct-08 15:48 
I am using 'ADOX.Catalog' namespace and the following code to create a new MS Access database.

Private Function CreateAccessDatabase() As Boolean
'-------------------------------------------------------
'This method is called to create a new Access database
'Required: NewDBConnectionString
'-------------------------------------------------------
Dim ADOXCatalog As New ADOX.Catalog
Try
If Me.NewDBConnectionString.Trim.ToString.Length = 0 Then Throw New Exception("Connection string is not specified")

'Call create method to create a new database
ADOXCatalog.Create(Me.NewDBConnectionString.Trim.T oString)
Return True
Catch ex As Exception
Throw ex
Return False
Finally
If Not ADOXCatalog Is Nothing Then
ADOXCatalog = Nothing
End If
End Try

End Function


The moment it created database, it is also leaving a .ldb file in the same directory. I don't want that .ldb file. If I tried to delete the file forcedly, it is passing an exception "The file is being used....". All the connection strings are properly closed.

Can anyone help me to remove this .ldb file.
AnswerRe: Problem with .ldb file Pin
Eduard Keilholz23-Oct-08 0:34
Eduard Keilholz23-Oct-08 0:34 
QuestionDatareport in C# Pin
pekhaleyogesh21-Oct-08 19:46
pekhaleyogesh21-Oct-08 19:46 
AnswerRe: Datareport in C# Pin
Giorgi Dalakishvili22-Oct-08 2:34
mentorGiorgi Dalakishvili22-Oct-08 2:34 
QuestioncheckedListBox Pin
raushan_921-Oct-08 19:34
raushan_921-Oct-08 19:34 
AnswerRe: checkedListBox Pin
Thomas Stockwell22-Oct-08 2:03
professionalThomas Stockwell22-Oct-08 2:03 
QuestionInteract with other programs Pin
Gamzun20-Oct-08 5:13
Gamzun20-Oct-08 5:13 
AnswerRe: Interact with other programs Pin
Paul Conrad20-Oct-08 6:08
professionalPaul Conrad20-Oct-08 6:08 
AnswerRe: Interact with other programs Pin
Ashfield20-Oct-08 9:26
Ashfield20-Oct-08 9:26 
Questioncreating controls at runtime Pin
x0lubi18-Oct-08 10:58
x0lubi18-Oct-08 10:58 
AnswerRe: creating controls at runtime Pin
x0lubi18-Oct-08 11:05
x0lubi18-Oct-08 11:05 
QuestionHow to close a window when Esc is pressed Pin
Ragu Rangasamy17-Oct-08 0:09
Ragu Rangasamy17-Oct-08 0:09 
AnswerRe: How to close a window when Esc is pressed Pin
LeandroABorges17-Oct-08 3:37
LeandroABorges17-Oct-08 3:37 
AnswerRe: How to close a window when Esc is pressed Pin
Mike Dimmick19-Oct-08 0:34
Mike Dimmick19-Oct-08 0:34 
Questionimages in a list Pin
Krazy Programmer15-Oct-08 22:44
Krazy Programmer15-Oct-08 22:44 
GeneralRe: images in a list Pin
LeandroABorges17-Oct-08 3:31
LeandroABorges17-Oct-08 3:31 
Question[Message Deleted] Pin
jotorres15-Oct-08 4:18
jotorres15-Oct-08 4:18 
QuestionVB.NET and Bar code reader Pin
sayuj15-Oct-08 1:11
sayuj15-Oct-08 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.