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:10:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01335357
Message ID:
01335365
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform