Solved

Mozzila  Firefox bookmarks from visual basic

Posted on 2009-05-13
4
622 Views
Last Modified: 2013-12-07
Hello!

I have to get all bookmarks from Mozzila Firefox from a visual basic application.
But I don't know where are stored the bookmarks.
In the folder WinDir:\Documents and Settings\CurrentUser\Application Data\Mozilla\Firefox\Profiles\xxxxx.default exists  a file, bookmarks.htm, but is incomplete. There are some bookmarks that I can see in my Mozzila browser and that are not in this file.
From where can I get all bookmarks? From where does Mozzila get and show all bookmarks in  Bookmarks/Organize Bookmarks?

Please help me! I'm really in trouble here! :)

Thank you!


0
Comment
Question by:costinu
  • 2
4 Comments
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24382323
Hi,
That should be the correct folder.
Have a look at the following:

http://www.watchingthenet.com/backup-firefox-bookmarks.html


Gary
0
 
LVL 1

Author Comment

by:costinu
ID: 24383147
Hi,

Thank you for your answer!

I know that this is the correct folder. But, in "bookmarks.html" I only have 5 links:
        Getting Started
        Latest Headlines
        Help and Tutorials
        Customize Firefox
        Get Involved
        About Us

 In my browser, on bookmarks tab I have 50 links.

Also there are 5 json files in the  WinDir:\Documents and Settings\CurrentUser\Application Data\Mozilla\Firefox\Profiles\xxxxx.default\bookmarkbackups  folder grouped by date : "bookmarks-2009-05-06.json", "bookmarks-2009-05-07.json", "bookmarks-2009-05-11.json",  "bookmarks-2009-05-12.json", "bookmarks-2009-05-13.json" .

But these are incomplete too. In "bookmarks-2009-05-13.json" there are more links then in "bookmarks.html", but there are missing the last 4 links that I added on 05/13/2009. Because, this file has the date modified : 04.10 PM, and I added  the links two hours later.

So, from where gets Mozzila all bookmarks so it can show the complete  list of the links in the Bookmark tab and in Organize Bookmarks??

Thank you!



0
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 24385520
New versions of Firefox store their bookmarks inside a Sqlite database called "places.sqlite" which you will find in your profiles\xxxxxx.default folder.

The bookmarks.html-file is only the one that is used to import the default Mozilla links into a newly created profile.

So unless you know how to deal with an sqlite database in Visual Basic, your best chance is to export the existing bookmarks to an HTML file through the Bookmarks > Manage bookmarks menu.
0
 
LVL 1

Author Comment

by:costinu
ID: 24410751
Thank you, torimar!
That is what I wanted to know! Now I must "fight" with that sqlite database in Visual Basic ;).
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question