1
MS Access 데이터베이스를 찾을 수 없을 때 갑자기 프로그램이 중단되었습니다. 누군가 나를 연결 고리로 도울 수 있습니까? 여기
코드의 : 실패한 연결을 감지하기 위해
connectionstring 데이터베이스 연결 확인
DoEvents Set con = New ADODB.Connection With con .ConnectionString = "Driver={Microsoft Access Driver (*.mdb)};Dbq=mydatabase.mdb;DefaultDir=C:\Projects\Database\;Uid=;Pwd=" .CursorLocation = adUseClient .Open End With
나는이 같은 코드를 넣어 뭔가 할 ...
if connection = successful then continue to table query... else show message box endif