Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get any file from windows box
Message
 
À
28/12/2005 14:57:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01081393
Message ID:
01081474
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform