0
我使用的folloing代码打开一个MS Access数据库,其密码在vb.net保护:MSACCESS.EXE打开,而试图释放对象
Try
oDB = oDBEngine.OpenDatabase(Name:=strFullFileName, Options:=False, _
ReadOnly:=False, Connect:="")
Catch ex As Exception
strError = "File is password protected."
Exit Function
End Try
但同时释放对象MSACCESS.EXE打开自动启动。
**System.Runtime.InteropServices.Marshal.ReleaseComObject(object)**
谁能帮帮我,如何解决这个问题....
嗨Remou, 你是天才, 它是工作。 谢谢。 – Suman 2008-12-19 13:51:12