Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need the file name, not the path
Message
From
30/07/2008 17:09:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01335357
Message ID:
01335363
Views:
14
does JUSTFNAME() work for you?

>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....
>
Previous
Reply
Map
View

Click here to load this message in the networking platform