Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need the file name, not the path
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01335357
Message ID:
01335396
Vues:
12
...
 .Navigate("file://" + ALLTRIM(emails.msgtx_path)
...
>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()
>..........
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform