Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need the file name, not the path
Message
 
 
To
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:
01335389
Views:
10
There is still a problem


I can not put the full web browser code, because the forum dos not accept it

It works fine if I use a Memo field content instead

*lcHtml = emails.msg

But does not work if I put the file reference
lcHtml = ALLTRIM(emails.msgtx_path)

The web browser control shows only the file name

"4041_body.htm"

Not the contents of the file

*lcHtml = emails.msg
lcHtml = ALLTRIM(emails.msgtx_path)
= MESSAGEBOX(lcHtml )

lnLoadTimeout = 3 && seconds
*WITH Thisform.oWeb.OBJECT
WITH Thisform.olecontrol1.OBJECT

.Navigate("about:blank")
&& Wait for load completion
lnStartSeconds = SECONDS()
..........
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform