Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Internet Explorer OLE Method "Save as"
Topic Summary:
Created On: 31-Jan-2008 16:57
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 31-Jan-2008 16:57
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Hi all,

when exporting modules to HTML, I know how to launch the Internet Explorer to show the exported html file using OLE. However, I just found out that the IE offers to save a web page as Web archive (.mht), one single file which includes all images in unicode. This is quite nice when one wants to exchange an exported document, as you then don't have to bother about all the images probably included in the web page. So I wanted to make this an option, but I failed in finding a OLE "Save as" method for the Internet Explorer. Does any one know it such a method exists and how I can call it?

Thanks in advance,

Peter
Report this to a Moderator Report this to a Moderator
 2-Feb-2008 01:26
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Peter here is the command and some of the syntax:
objIE.ExecWB 4,2, "myfile"
objIE.ExecWB 3,1, "myfile"

Options:
4 = save as
3 = save
1 = prompt
2 = no prompt

Edited: 2-Feb-2008 at 11:43 by ron lewis
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 09:42
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Hi Ron,

thanks a lot for the info. It partly works, i.e. I can invoke the "Save As" dialogue box. Unfortunately, though, I can't call it without prompt, nor can I force it to save the content as Web archive. When using "4,2", IE still opens a save dialogue box, with only HTML and text files as options.

But again, thanks for pointing in this direction,

Peter
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 12:45
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Peter, unless you can live with the options I showed or figure out a workaround, you are pretty much stuck -- IE doesn't provide much options in the area you are looking at. But there are workarounds using other objects.
Report this to a Moderator Report this to a Moderator
 4-Feb-2008 16:51
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Well, for the time being I can live with the user interaction to actively click a button in the save as dialogue. Thanks again for your help,

Peter
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.