<br><font size=2 face="sans-serif">Try this... It should open ANY kind of document in the application that Windows has designated for it to use.</font>
<br>
<br><font size=3><tt>on mouseUp</tt></font>
<br><font size=3><tt>&nbsp; set the hideConsoleWindows to true</tt></font>
<br><font size=3><tt>&nbsp; answer file &quot;Open which document?&quot;</tt></font>
<br><font size=3><tt>&nbsp; put QUOTE &amp; it &amp; QUOTE into tPath</tt></font>
<br><font size=3><tt>&nbsp; get shell(tPath)</tt></font>
<br><font size=3><tt>end mouseUp</tt></font>
<br>
<br><font size=2 face="sans-serif">Roger Eller</font>
<br><font size=2 face="sans-serif">roger.e.eller@sealedair.com</font>
<br>
<br>
<br><font size=2><tt>On Tuesday, June 24, 2003, at 02:35 &nbsp;AM, Robert J. Earp wrote:<br>
</tt></font>
<br><font size=2><tt>&gt; I need to allow users to open a number of types of documents/media<br>
&gt; etc. from within a stack. &nbsp;That is, have the native application, such<br>
&gt; as Word, Acrobat, Excel (and others) launch and then open the<br>
&gt; appropriate data file. &nbsp;And I need this to happen on whatever Win<br>
&gt; machine the stack is running on.<br>
&gt;<br>
&gt; Launch does not seem to work within WinXP as it doesn't seem to know<br>
&gt; where the apps are located. &nbsp;I have the feeling I should be using the<br>
&gt; queryRegistry command to locate the full path of the app, but my<br>
&gt; problem is I don't know enough about the Registry to be able to find<br>
&gt; the appropriate entries to query.<br>
&gt;<br>
&gt; Also, should I be checking for an app already being open ? That is, am<br>
&gt; I going to risk having many copies of the same app open at the same<br>
&gt; time ? &nbsp;If so, any ideas how to do this ?<br>
&gt;<br>
&gt; Can anybody help please ??</tt></font>
<br>