PDA

Click to See Complete Forum and Search --> : IE Export Favorites


andondr
Nov 12th, 2000, 06:11 PM
Is there a API command to make Internet Explorer to export its favorites to an html file. I'm asking cause there's this option in IE5 in the File Menu, so anybody .... THANKS!

Lee Hindmarsh
Nov 16th, 2000, 10:13 AM
No API calls as far as I know but the following may point you in the right direction:

Include references to MS HTML Object Library and MS Internet Controls. Then insert this code in [General]
of a form.....

Dim Favs As New ShellUIHelper

Then use the following code to get a dialog box to confirm
exporting the favo(u)rites:

Dim location As String

location = "c:\"

Favs.ImportExportFavorites False, location

At least this points you towards looking at the ShellUIHelper.

andondr
Nov 17th, 2000, 02:51 PM
thanks man.
I already found it (your code), right after I post the question, and the additional samples. And your right there aren't any api's. The code I'm making requares no dialog, but now I got it under control ;).
Thanks again!