John Harvey wrote on 2012-12-02: 
>  MS changed the DOM  for Windows 7 and IE. You will need to test for OS,
then
>  look for object.body.firstchild.innertext if it is windows 7 or whatever
>  they call it in the os() function.
>  
>  John
>  
>  -----Original Message-----
>  From: ProFox [mailto:[email protected]] On Behalf Of Tracy Pearson
>
>  "[email protected]" <[email protected]> wrote:
>  
>> add the internet explorer control and point to a file. or
>> createobject("internet.explorer") and point that to the file Al Sent
>> from webmail :)
>> 
>> On 02 December 2012 at 13:06 Jeff Johnson <[email protected]> wrote:
>>> I have an application that creates an HTML formatted email. Up to now
>>> I send myself the email to see how it is formatted. It works great,
>>> but someone asked me if I could maybe preview it in a window rather
>>> than sending it. Maybe because they are composing it off line.
>>> 
>>> Is there a way to display HTML on a Form?
> 
>  You do not need the file. I load the text into the control from a string.
If
>  memory serves it is object.body.innerhtml
>  --
>  Tracy
>  

John,

It looks like I'm using the Shell.Explorer.2 ActiveX control. I set this up
some years ago and it still works in Windows 8. "Microsoft Web Browser" is
what I select when I add the control.

I navigate to About:Blank first.
Then I fill in the page with using object.Document.Body.InnerHTML



Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to