vbgen Level: Moderator
 Registered: 10-10-2002 Posts: 876
|
Using ShellExecute API
'declare it this way...
Const SW_SHOWNORMAL = 1
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
'..and use it this way
ShellExecute 0, vbNullString, strFilePath, vbNullString, strPath, SW_SHOWNORMAL |
if there's something wrong, post back, okay?
____________________________
Been busy trying to take a second degree <--it's not working out...
|