Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi-
I have a situation where I wish to call a file and I don't think ShellExecute is going to work. Specifically, the file I want to call usually opens with Wordpad of Notepad, but it is actually a set of scripts that are run by a specific retail systems program. So the question is, how do I specify the program I want to run when I execute a call on the file? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You will need to know something about the command line for launching your
'specific retail systems program'. Hopefully, there is a command line that includes listing the path and file name for your script file as one of the arguments. Then you use ShellExecute with the command line that starts your retail systems program and feeds it your script. Steve wrote in message ... Hi- I have a situation where I wish to call a file and I don't think ShellExecute is going to work. Specifically, the file I want to call usually opens with Wordpad of Notepad, but it is actually a set of scripts that are run by a specific retail systems program. So the question is, how do I specify the program I want to run when I execute a call on the file? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open a file in the same instance with ShellExecute | Excel Programming | |||
ShellExecute hangs Excel when opening XLS file | Excel Programming | |||
Shell Doesn't Work With UNC - Can't Get ShellExecute to Work Either | Excel Programming | |||
If alternative | Excel Worksheet Functions | |||
Shellexecute fails with Excel | Excel Programming |