September 29th, 2002, 05:35 PM
Opening a File - Emulating Double Click
I know that this probably isn't the right forum, but there is no other relevant forum for my question - I'm coding in VBScript as a custom addition to a piece of software, and was wondering if there is any method to open files (i.e. emulating a double-click in windows).
Thanks in advance for any help you can provide.
October 3rd, 2002, 07:05 AM
I don't know about VBScript, but in Windows, the name for the thing is ShellExec or ShellExecute. Try searching the docs on those.
If you can run commands, the command "start" has been around for a while. You can give a command "start something" and if that something is a file, it's the same as doubleclicking on it.
and so on...