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