Be Careful While Calling Exit()
Calling exit() from any where in the program will result in the process getting terminated. For example, if exit() is called from a code in a dll which is loaded
Calling exit() from any where in the program will result in the process getting terminated. For example, if exit() is called from a code in a dll which is loaded
The size of the int, char, long, or short depends on what operating system and compiler version you are using. The same applies for short and long data types.The usual
You can put VB’s registry functions to good use by creating a few reusable routines that save, reload, and delete size and state of a form in your program. ‘
Private Declare Function GetDesktopWindow Lib “user32” () As Long’ Display all the child window of a given window in a TreeView control’ omit 2nd and 3rd argument to display the
Private Type MENUITEMINFO cbSize As Long fMask As Long fType As Long fState As Long wID As Long hSubMenu As Long hbmpChecked As Long hbmpUnchecked As Long dwItemData As Long
Private Declare Function GetSystemMetrics Lib “user32” (ByVal nIndex As Long) _ As LongPrivate Declare Function GetDoubleClickTime Lib “user32” () As LongConst SM_CXDOUBLECLK = 36Const SM_CYDOUBLECLK = 37′ retrieve info about
Private Declare Function SystemParametersInfo Lib “user32” Alias _ “SystemParametersInfoA” (ByVal uAction As Long, ByVal uParam As Long, _ ByRef lpvParam As Any, ByVal fuWinIni As Long) As LongConst SPIF_SENDWININICHANGE =
Private Declare Function EnumWindows Lib “user32” (ByVal lpEnumFunc As Long, _ ByVal lParam As Long) As LongPrivate Declare Function EnumChildWindows Lib “user32” (ByVal hWndParent As _ Long, ByVal lpEnumFunc As
By proactively closing connections when they are no longer needed, you reduce demand on the database server and make resources available to other users. Connections are closed when they go