Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform htm document to mht document WITH IE
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01049478
Message ID:
01049737
Views:
15
BonjOur mike,

Je suis loin d'être un expert dans IE.

LOCAL lcFile
lcFile = 'c:\'+SUBSTR(SYS(2015),2,8)+'.mht'
oIE = CREATEOBJECT('internetexplorer.application')
oIE.NAVIGATE('C:\cdbk90\amline\PreMessage.htm')
INKEY(6)
oIE.VISIBLE =.T.
sp=CREATEOBJECT("Wscript.Shell")
sp.SendKeys('%F')
sp.SendKeys('a')
sp.SendKeys('&lcFile')
INKEY(1)
sp.SendKeys("{TAB}")
sp.SendKeys('W')
sp.SendKeys("{TAB}")
sp.SendKeys('S')
oIE.QUIT

Lorsque je lance ce code rien ne se passe .... ?


bernhart


>Je ne suis pas sur de l'heure de ton message. Tu as eu ta réponse sur cette question sur le newgroup?
>
>>Hi all ,
>>
>>How transform my File "C:\cdbk90\amline\Lierre.htm" to "C:\cdbk90\amline\Lierre.mht"
>>with INTERNET EXPLORER ?
>>
>>Thank in advance for help
>>
>>bernhart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform