Measuring Small Increments of Time in VB
In Visual Basic, it is not possible to measure time with more precision than one second. This code allows the user to measure time passed in increments less than one
In Visual Basic, it is not possible to measure time with more precision than one second. This code allows the user to measure time passed in increments less than one
The method shown below returns as a String the complete path to the current (working) directory. This can be useful to know because default files(including property files) are read from
Private Declare Sub keybd_event Lib “user32” (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Private Const VK_LWIN = &H5BPrivate Const KEYEVENTF_KEYUP =
Like many high-level, abstract, and portable concepts, EJB spec has itsdownsides. One of them is the very generality that makes beans so portable.Interfaces javax.ejb.EntityBean and javax.ejb.SessionBean declare quite a few
In the coming Visual Studio 7, it is possible to create constructors in VB. One of the great benefits of using constructors is that they make it possible to control
When you pass a read-writable property directly as a ByRef parameter to a function or subroutine, the property will not be changed. This is because in VB 6.0 or previous
Trying to pass an ActiveX control as a parameter to a method on an external ActiveX DLL (or EXE), garners a
The duration of a timed task in seconds can be determined by the DateDiff function. To present the result in a user friendly format, pass the DateDiff result to this
Private Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Function IsWindow Lib “user32” (ByVal hWnd As Long) As LongPrivate Declare Function GetClientRect