
AYUDA CON CODIGO
Publicado por Greivin (8 intervenciones) el 16/07/2017 17:13:29
ALGUIEN ME PUEDE INDICAR QUE SE SUPONE QUE HACE ESTE CODIGO:
ME DA UN ERROR EN UNA COMPUTADORA (64BITS) Y EN OTRA IGUAL DE 64BITS ME DA UN ERROR (VER IMAGEN DE ERROR) ME PUEDEN AYUDAR A SOLUCIONARLO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Option Compare Database
Option Explicit
Public Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
Public Declare Function MoveWindow Lib "user32" (ByVal hWnd As Long, ByVal x As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long
Public Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, lpRect As RECT) As Long
' function retrieves a handle to a display device context (DC) for the client
' area of a specified window or for the entire screen.
Public Declare Function apiGetDC Lib "user32" Alias "GetDC" (ByVal hWnd As Long) As Long
Public Declare Function apiGetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hDC As Long, ByVal nIndex As Long) As Long
Public Declare Function apiReleaseDC Lib "user32" Alias "ReleaseDC" (ByVal hWnd As Long, ByVal hDC As Long) As Long
Public Const TWIPSPERINCH = 1440
Public Type POINTAPI
x As Long
Y As Long
End Type
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Public Punto As POINTAPI
'Number of pixels per logical inch along the screen width.
'In a system with multiple display monitors, this value is
'the same for all monitors
Public Const LOGPIXELSX = 88
'Number of pixels per logical inch along the screen height.
'In a system with multiple display monitors, this value is the
'same for all monitors
Public Const LOGPIXELSY = 90
ME DA UN ERROR EN UNA COMPUTADORA (64BITS) Y EN OTRA IGUAL DE 64BITS ME DA UN ERROR (VER IMAGEN DE ERROR) ME PUEDEN AYUDAR A SOLUCIONARLO
- ERRORR-WINDOWS-ACCESS.rar(97,0 KB)
Valora esta pregunta


0