-

   rss_sql_ru_access_programming

 - e-mail

 

 -

 LiveInternet.ru:
: 16.03.2006
:
:
: 4

:


Access 32 Access 64. .

, 17 2014 . 15:04 +
Access 2013 64 . . 32- .

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

Test_1 Test_2. fnSetWindow ShowWindow. , . ? ?

------------------------------------------------------------------------------------
50- ?

http://www.sql.ru/forum/1132999/perehod-s-access-32-na-access-64-est-problemy


: [1] []
 

:
: 

: ( )

:

  URL