Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get any file from windows box
Message
 
To
28/12/2005 14:57:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01081393
Message ID:
01081474
Views:
10
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform