Access 32 Access 64. . |
Option Compare Database Option Explicit Public Declare PtrSafe Function ShowWindow Lib "user32" _ (ByVal hwnd As LongPtr, _ ByVal nCmdShow As LongPtr) As LongPtr '--------------------------------------------------------------------------------------- ' Procedure : fnSetWindow ' DateTime : 20.12.2007 03:07 ' Author : ' Purpose : '--------------------------------------------------------------------------------------- ' Public Function fnSetWindow(nHwnd As LongPtr, nCmdShow As LongPtr) As Long On Error GoTo Err_fnSetWindow fnSetWindow = ShowWindow(nHwnd, nCmdShow) Exit_fnSetWindow: Exit Function Err_fnSetWindow: MsgBox Err.Description Resume Exit_fnSetWindow End Function Public Sub Test_1() ' Access fnSetWindow Application.hWndAccessApp, 3 'SW_SHOWMAXIMIZED End Sub Public Sub Test_2() ' Access fnSetWindow Application.hWndAccessApp, 9 End Sub
http://www.sql.ru/forum/1132999/perehod-s-access-32-na-access-64-est-problemy