Microsoft Visual Basic 6.0 Service Pack 6 Cumulative Update

A security issue has been identified that could allow an attacker to compromise your Windows-based system running Microsoft Visual Basic 6.0 Service Pack 6 and gain complete control over it. You can help protect your computer by installing this update from Microsoft.To download, click here.

Advertisements

Keeping A Window On Top

You can keep your window on top by using the code listed below. DeclareDeclare Sub SetWindowPos Lib "User" (ByVal hwnd As Integer, ByVal hWndInsertAfter As Integer, ByVal x As Integer, ByVal y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer)Const SWP_NOMOVE = 2Const SWP_NOSIZE = 1Const HWND_TOPMOST = -1Const [...]

Keeping A Form On Top Of A Window

Instead of SetWindowPos, it uses SetWindowWord. This lets you create a floating toolbar that stays above its app's window without staying on top of ALL windows. Very handy for that professional look.Declare Sub SetWindowWord Lib "USER" (ByVal hWnd, ByVal nCmd, ByVal nVal) Const SWW_hParent = (-8) Form_Load of the form that you want to keep [...]