|
|
|
Re: display of pdf files in visual basic software [message #89285 is a reply to message #88512] |
Tue, 20 January 2004 18:18 |
ilambarathi
Messages: 1 Registered: January 2004
|
Junior Member |
|
|
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
call the api by
ShellExecute hwnd, "open", strApp, vbNullString, strDir, 1
where strApp =path+ filename
strDir=Root directory of the path like "c:"
|
|
|