How To Load A Non-Modal Form Like A Modal Form

Background I was almost finished with an app I was writing. Twice in this app I did some time consuming formatting and I thought it would be nice to have a status bar in these loops. My program had Modal windows so the problem begun. I could not show a non modal window on to … Continue reading How To Load A Non-Modal Form Like A Modal Form

Create A Full Directory Path

DeclarePrivate Declare Function MakeSureDirectoryPathExists Lib "IMAGEHLP.DLL" (ByVal DirPath As String) As Long CodePublic Sub CreatePath(ByVal DestPath As String)    If Right(DestPath, 1) <> "\" Then        DestPath = DestPath & "\"    End If    If MakeSureDirectoryPathExists(DestPath) = 0 Then        MsgBox "Error creating path: " & DestPath    End IfEnd Sub   Tip Submitted By: Kevin Buchan

Service Pack 6 for Visual Basic 6.0

This is a multi-part download of Service Pack 6 for Visual Basic 6.0. Customers with broadband connections are encouraged to download the one-file version. See the Related Resources link. Service Pack 6 for Visual Basic 6.0 provides the latest updates to Visual Basic 6.0. It is recommended for all users of Visual Basic 6.0.   … Continue reading Service Pack 6 for Visual Basic 6.0

Service Pack 6 for Visual Basic 6.0: Run-Time Redistribution Pack

vbrun60sp6.exe is a self-extracting executable file that installs versions of the Microsoft Visual Basic run-time files required by all applications created with Visual Basic 6.0. The files include the fixes shipped with Service Pack 6 for Visual Basic 6.0.   http://www.microsoft.com/downloads/details.aspx?familyid=7b9ba261-7a9c-43e7-9117-f673077ffb3c&displaylang=en

Centering The Mouse Pointer Over A Control

Positioning the cursor over the button they will are likely to make the action quicker and easier. The following code will center the mouse cursor over any control that has an hWnd property. Declare#If Win32 Then     Type RECT           left As Long           top As Long           right As Long           bottom As Long     End Type     Declare Sub GetWindowRect … Continue reading Centering The Mouse Pointer Over A Control