
Shell execute help please.
dim intRetVal
intRetVal = shell("\winnt\system32\notepad.exe \documents\samp.text",
1)
If you specify the path of the exe you shouldn't have any trouble
launching a file.
On Fri, 07 Aug 1998 19:27:53 -0300, Jay MacDonald
Quote:
>Hi there.
>I am using the shellExecute function to open a file with its associated
>program when the user double clicks on the file name in a listview. It
>works great, but what about those file extensions that don't have a
>program associated with it? When you double click on a file or an icon
>in Windows and there is no program associated, a dialogue window opens
>and asks which program you want to use to open the file. Can this
>dialogue window be accessed from VB? If so, how?
>Thanks for any help.
>Jay MacDonald