General information
Category:
Coding, syntax & commands
Title:
I need the file name, not the path
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only