Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling IE from VFP
Message
From
14/04/2002 10:44:57
 
 
To
13/04/2002 11:37:29
Robert Lee
Swiderski Electronics, Inc.
Carol Stream, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00644693
Message ID:
00644818
Views:
13
>Does anyone know how to programmatically call IE's File-Send-Page by e-mail feature?

The easiest way I've found extracts the Outer HTML for the pagefrom the IE instance, and then either inserting the HTML into the body of an email using a mail product such as Outlook which supports messages containing HTML, or saving the HTML to a file and delivering it as an attachment. If you either embed HTML or send a file attachment, make anylinked objects in the page either offer an absolute URL which will be resolved when the page is displayed, or embed the object in the delivered document instead of a relative URL which may notreliably get resolved when the HTML is rendered.

FWIW, I've had better luck with attachments or passing the URL of interest to the recipient instead - we had a broader range of problems noted by recipients who got emailed web pages as message content, especially where they received pages containing dynamic content, and content dependent on iterative session resolution formation changed over time.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform