Tools Links Login

IE Favorites <-> Netscape bookmark converter

Converts IE Favorites to Netscape Bookmarks and vice-versa in just 9 lines of code

Original Author: Mark Roberts

Inputs

Just the Netscape bookmark.htm file path

Assumptions

To use this code, make sure you have an Internet Control component in your project. Then its simple - call the functions with the path of your netscape bookmark file.

Side Effects

The export operation will not merge with the Netscape file - it will overwrite it.

Code

Dim ShellUIHelper1 As ShellUIHelper

Sub ImportFavorites(NetscapePath As String)
Set ShellUIHelper1 = New ShellUIHelper
ShellUIHelper1.ImportExportFavorites True, NetscapePath
End Sub
Sub ExportFavorites(NetscapePath As String)
Set ShellUIHelper1 = New ShellUIHelper
ShellUIHelper1.ImportExportFavorites False, NetscapePath
End Sub

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 131 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.