UTILITY under 95/NT?? (OpenInsight Specific)
At 20 AUG 1998 10:35:48PM Jeff Hilb (jhilb@chicagonet.net) wrote:
I am trying to use …
Application=EXCEL.EXE'
Stat=Utility('RUNWIN', Application, '')
Doesn't work, what am I doing wrong? Ran fine under 3.1.
Jeff Hilb
At 21 AUG 1998 07:25AM Cameron Revelation wrote:
Jeff,
Excel would have to be in the path.
Cameron Purdy
Revelation Software
At 21 AUG 1998 01:59PM Jeff Hilb wrote:
It is. I have also tried using the complete file spec under 95 & NT (tried both) as \PROGRA~1\MICROS~1\OFFICE\EXCEL.EXE under 95 to no avail. I've tried on multiple machines and none of them work.
Jeff
At 21 AUG 1998 02:00PM Jeff Hilb wrote:
Is there another way to start another app within OI? I mean anything, I'm despirate.
Jeff
At 21 AUG 1998 05:15PM Jim Vaughan wrote:
We use the following code under NT/98/95 and it works, or at least it did last time I checked.
Subroutine Run_File(Null)
Declare Function Utility
Option="
* Open Mode
Option=0
Option=Macros/*.Wbt/Programs/*.Exe *.Com/Batch Files/*.Bat/All Files/*.*/"
* Default Is Type 1
Option=1
* Default To Macro Dir
Option=Drive():"\Macros\"
File=Utility("Choosefile","Main_Tactic",Option)
If File Then
Ret_Val=Utility("Runwin",File)End
Return
At 21 AUG 1998 05:27PM DSig (SigSolutions) wrote:
Jim,
We have seen problems when the associated program's name or path exceeds the 8.3 mindset.
RTI knows about this problem .. don't know if it will be fixed
dsig
David Tod Sigafoos ~ SigSolutions
dsig@teleport.com
At 21 AUG 1998 09:36PM Jim Vaughan wrote:
The long path name problem is even worse, than you might think. If you install Word (or whatever) into a directory that exceeds 8.3 (likely as the default is "Program Files"). Then you can not run associations by using utility.
That is the following code :
Ret_Val=Utility("RUNWIN","jim.doc")
will not execute word.exe and load jim.doc.
At 21 AUG 1998 10:12PM Jeff Hilb wrote:
That's great. Essentially that is exactly what I am trying to do.
J.H.
At 24 AUG 1998 09:18PM Aaron Kaplan wrote:
Well, on my system, if I put
run utility 'RUNWIN','C:\Installs\MSOFFC97\OFFICE\EXCEL.EXE'
into the system monitor, Excel start.
Though, I'm not using long filenames.
apk@sprezzatura.com
At 24 AUG 1998 09:42PM Aaron Kaplan wrote:
Well, trying with a long name,
run utility 'RUNWIN','C:\PROGRA~1\COMMON~1\MICROS~1\ORGCHART\ORGCHART.EXE'
ran the org chart, from the system monitor.
apk@sprezzatura.com
At 25 AUG 1998 12:47PM DSig (SigSolutions) wrote:
aaron
]Well, trying with a long name,run utility ]'RUNWIN','C:\PROGRA~1\COMMON~1\MICROS~1\ORGCHART\ORGCHART.EXE'
]ran the org chart, from the system monitor.
Guess we should just get all users to access the system monitor
Gene has already posted a reply to an earlier thread on this stating that there is a bug in windows ..
dsig
David Tod Sigafoos ~ SigSolutions
dsig@teleport.com
At 25 AUG 1998 02:33PM Cameron Revelation wrote:
For reference, there is an early thread discussing executing a document file. There is a later thread that Gene responsed to.
Cameron Purdy
Revelation Software
At 01 SEP 1998 10:36PM Aaron Kaplan wrote:
Well, I'm lazy so saw no reason to write code, system monitor should return the same. Besides, luck of the draw. Just checked my registry and the code was in quotes
apk@sprezzatura.com