`\rDim ExcelAppObj as Excel. Application\rSet ExcelAppObj = New Excel. Application\r3 . \r\r4 . \rV B A @ DAO\r1 {| Microsoft D A O\r~-.\r2 ^~.\rDim db As Database\rSet db = DBEngine. Workspaces(0).\rOpenDatabase("C:\X. MDB")\r3 @AutoCAD\r$D A O\r=>.\rVBA Windows APIs\r Windows APIt\r1 . r@D L L \r2 . D L L \r3 . `\r4 . -\r5 . ¡(¢£r@¤¥)\rr@ Windows APIt\r- Win32api. txt\r#If Win32 Then.\rDeclare Sub MessageBeep Lib §User32" A lias zzSomeBeep/z (ByVai N As Long)\r#Else\rDeclare Sub MessageBeep Lib “User” A lias /zSomeBeepz¨ (ByVai N As\rInteger)\r#End If\rSub CallMyDll()\rCal 1 MessageBeep(1)\rEnd Sub