Maybe the 'A' session is renaming 'cover.pub' to '$cover.pub'. What happens when you start the 'B' session first. Also, maybe there is an OLE open that would work like:oMsPub=createobject('mspub.application'), or something like that would help the behavior. If you some open MSPUB cases, call microsoft and let us know what they say!
>I get different results with the same line of code in two
>seperate VFP6 projects. I am trying to open a file in Publisher 2000.
>In project 'a', the line...
> RUN c:\mspub.exe k:\cover.pub
>... works perfectly by starting Publisher and opening the document
>for editing. In project 'b' the same line of code opens Publisher but Publisher starts with the message box "unable to find file".
>
>When I switch back and forth between projects in the same Foxpro session it still works in 'a' but not in project 'b'.
>
>HELP!
>
>-Bill Galley
Imagination is more important than knowledge