Disable the Ctrl-Alt-Del key combination (Windows 9x only)
In Windows 95 and 98, when the screen saver is currently active (and the screen is blanked) the Ctrl-Alt-Del key combination doesn’t work, in order to force the user to
In Windows 95 and 98, when the screen saver is currently active (and the screen is blanked) the Ctrl-Alt-Del key combination doesn’t work, in order to force the user to
Private Type POINTAPI X As Long Y As LongEnd TypePrivate Type MSG hwnd As Long message As Long wParam As Long lParam As Long time As Long pt As POINTAPIEnd
Private Type POINTAPI X As Long Y As LongEnd TypePrivate Declare Function GetCursorPos Lib “user32” (lpPoint As POINTAPI) As LongPrivate Declare Function ScreenToClient Lib “user32” (ByVal hWnd As Long, _
Private Type POINTAPI X As Long Y As LongEnd TypePrivate Declare Function GetCursorPos Lib “user32” (lpPoint As POINTAPI) As LongPrivate Declare Function WindowFromPoint Lib “user32” (ByVal xPoint As Long, _
If your VB application is meant to be called from within a Ms-Dos batch file, you must be able to return Dos an error code. This can be accomplished using
Private Type POINTAPI X As Long Y As LongEnd TypePrivate Declare Function SetCursorPos Lib “user32” (ByVal X As Long, _ ByVal Y As Long) As LongPrivate Declare Function ClientToScreen Lib
Private Declare Function SetCursorPos Lib “user32” (ByVal X As Long, _ ByVal Y As Long) As LongPrivate Declare Function GetWindowRect Lib “user32” (ByVal hWnd As Long, _ lpRect As RECT)
Private Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Function GetClientRect Lib “user32” (ByVal hWnd As Long, _ lpRect As RECT) As
Under Windows NT you can programmatically display the Connect To Printer dialog using one simple API function: ‘ This works only under Windows NT and 2000Private Declare Function ConnectToPrinterDlg Lib