Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need the file name, not the path
Message
De
30/07/2008 17:10:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01335357
Message ID:
01335365
Vues:
11
>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....
>

Then use only ALLTRIM(emails.msgtx_path) :)
Or do you mean justfname(), juststem() ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform