Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need the file name, not the path
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
I need the file name, not the path
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01335357
Message ID:
01335357
Views:
57
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....
Next
Reply
Map
View

Click here to load this message in the networking platform