Okay, I finally got my external program to open but how do I actually get it to run???
What I am trying to do is open a syncsort file called mjwsorter.srt (I can finally get it to open). Next, however, I want the program to execute... which is done by clicking the run button in syncsort. Is there some way to do this action in VB6? I want the process to be automated... no user interaction.
Here is what I have to open the file:
Dim shell, fso
Set shell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
shell.Run """syncsort/run \\wgc-rtn-31\backups\bbms\archive\2005\Copy of 09-2005(Sep)\Syncsort routines - Tested\mjwmerge.srt"""