I am opening a MS Access DB which is Password protected in vb.net using the folloing code:
Try
oDB = oDBEngine.OpenDatabase(Name:=strFullFileName, Options:=False, _
ReadOnly:=False, Connect:="")
Catch ex As Exception
strError = "File is password protected."
Exit Function
End Try
But while releasing the object the msaccess.exe opens up automatically.
**System.Runtime.InteropServices.Marshal.ReleaseComObject(object)**
Could anyone help me, how to resolve the issue....