Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need the file name, not the path
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
I need the file name, not the path
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01335357
Message ID:
01335357
Vues:
58
The question seems simple, maybe I am too tired and stressed to solve it my self

lcHtml = SYS(5) + curdir() + "emails\messages\" + ALLTRIM(emails.msgtx_path)
= MESSAGEBOX(lcHtml )

Displays the whole path but I only need the file name with is in: ALLTRIM(emails.msgtx_path)


I will use it in the ie automation code below

lcHtml = SYS(5) + curdir() + "emails\messages\" + ALLTRIM(emails.msgtx_path)
lnLoadTimeout = 3 && seconds
*WITH Thisform.oWeb.OBJECT
WITH Thisform.olecontrol1.OBJECT
............... etc....
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform