I have used the above code;
Code:
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
in Visual Basic 5 for meny years.

I have just updated from Visual Basic 5 to Visual Basic 2005 Express Edition and tois code no longer works.

I use it to load a help/information file from my application.

Dose anybody know any new code?

Mark Agius, Sussex, England.