Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Alternative to ShellExecute

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 284
Default Alternative to ShellExecute

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open a file in the same instance with ShellExecute MichDenis Excel Programming 2 April 10th 07 04:16 AM
ShellExecute hangs Excel when opening XLS file [email protected] Excel Programming 5 January 3rd 07 06:35 AM
Shell Doesn't Work With UNC - Can't Get ShellExecute to Work Either [email protected] Excel Programming 1 September 1st 06 05:35 AM
If alternative Busy Bee Excel Worksheet Functions 4 June 30th 06 12:53 AM
Shellexecute fails with Excel rapple Excel Programming 0 June 24th 06 04:11 PM


All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"