>Thanks a lot Vladimir,
>
>It does not work when selecting my c:\paul.doc when executing
>
>do run_with(getfile()), give an error message ?
>
>Invalid subscript reference
>
>please assist me to debug.
>
>TIA
Paul,
debug the prg
SET ASSERTS ON
m.myfile = GETFILE()
ASSERT .f.
IF NOT EMPTY(m.myfile)
RUN_RunWith(m.myfile)
ELSE
MESSAGEBOX([No selected file])
ENDIF
FUNCTION Run_RunWith
...
and post the command line,where you get the error message.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst