|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
Hi
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. Examples: start URL start c:\temp\test.pdf start \\someserver\someshare\somefile.doc and so on... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Opening a File - Emulating Double Click |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|