Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Const SW_SHOWNORMAL = 1
Private Sub cmdSetRaceFile_Click() 'On Error GoTo ErrorHandler Dim strFileName As String Call Hourglass cdlChangePath.Filter = "Race Files (*.*)|*.*" cdlChangePath.InitDir = sPath cdlChangePath.ShowOpen strFileName = cdlChangePath.FileName ShellExecute hWnd, "open", strFileName, vbNullString, vbNullString, SW_SHOWNORMAL Call Arrow Exit Sub ErrorHandler: Beep ErrorHandler
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.