Re: Is there an API for Tabs?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Günter Prossliner" <g.prossliner/gmx/at> wrote in message
news:%23W8ZVvBMIHA.5468@xxxxxxxxxxxxxxxxxxxx
1. enumerate the currently opened Tabs of a specific IE - Instance
and get the Location of the loaded Document(s).

Use ShellWindows object to enumerate all WebBrowser instances in the
system - this will give you all tabs in all IE instances, as well as
WebBrowser instances hosted by applications other than IE. For each
instance, get its HWND handle with IWebBrowser2::get_HWND, and follow
parent chain to the top-level handle. Only keep those that can be traced
this way to a particular IE main window.

2. programmaticly open a new Tabs and open a Document by it's URL.

Once you have IWebBrowser pointer for one tab, call Navigate on it with
navOpenInNewTab flag.

I want to write a small BOH (or whatever else is able to do this)
which allows me to save the collection of the opened Tabs (primary
the URL) into a file, and which allows the user to open this file
later, which shall restore all Tabs that are saved within the file.

IE7's Favorites already support this. You can save a set of tabs as a
folder in Favorites (the UI refers to it as a "tab group"), and open a
folderful of bookmarks at once as a set of tabs.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • RE: Scheduled Task
    ... I do see the security tab on the System and on Windows folder. ... check the permissions on the tasks folder. ... Now all my task is missing the front two tabs. ...
    (microsoft.public.windowsxp.general)
  • Re: I dont have "Sync Options" "Schedule" or "Rules" Tab. Why?
    ... with these tabs available to them. ... I originally installed AS 4.1 from the Dell CD. ... I reinstalled AS 4.2 in the same folder it had been previously located. ... install the "clean" install in a different folder? ...
    (microsoft.public.pocketpc.activesync)
  • Re: My Documents, My Pictures, My Music folders tabs
    ... Windows® Troubleshooting http://www.winhelponline.com ... and the tabs on the top when you're in Detailed view, ... My Documents folder has the image and tabs from the My Music folder (the ... images from My Pictures (a picture watermark, and tabs like Dimensions, Date ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Macro misteriously crashes Excel 2007 - but not 2003
    ... I have a folder with a number of files; each file has 3 tabs: ... on the detailed analysis, it works in Excel 2003 but crashes in Excel ... 'TargetFile: the file to be created, ...
    (microsoft.public.excel.programming)
  • Re: "Access is denied."
    ... The 5 tabs I have are: ... Tools, Hardware, Sharing and Quota. ... "Allow network users to change my files" ... instructs me to drag the folder to the "Shared documents" folder. ...
    (microsoft.public.windowsxp.general)