Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning text box content to variable...
Message
De
10/11/2004 12:15:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00959984
Message ID:
00960080
Vues:
10
>Okay. I got the app to launch but the variable is picked up in its literal form. In this case, if I declare lcComputerName (and the debugger IS acknowledging that the user-supplied value for the variable is publicly available) then...
>
>
RUN /N application.exe lcComputerName
>
>...is running exactly as that (error from the launched app is that there is no machine named lcComputerName).
>
>How should I package this so that lcComputerName is properly interpreted to be whatever input the user supplies?
>
>Thanks again...
>
>Alan

With macro substitution - add an ampersand.
RUN /N application.exe &lcComputerName
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform