Solved

Launch Firefox Add-on C#

Posted on 2009-05-15
2
1,088 Views
Last Modified: 2013-12-07
I would like a C# button to launch a firefox add-on that is a sqlite manager:

http://code.google.com/p/sqlite-manager/wiki/SupportedApplications

The run-line specified in the above doc: firefox -chrome chrome://sqlitemanager/content/sqlitemanager.xul works great from anywhere but from my C# application.  (The system cannot find the file specified.)

In fact, I want to load the actual database (I have a sqlite database path). So I would like to even do "firefox -chrome chrome://sqlitemanager/content/sqlitemanager.xul C:\Whatever.sqlite".

That would be ideal.
0
Comment
Question by:jj_30
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 250 total points
ID: 24395340
Have you tried using Process.Start?
System.Diagnostics.Process.Start("firefox", "-chrome chrome://sqlitemanager/content/sqlitemanager.xul");

Open in new window

0
 
LVL 2

Author Comment

by:jj_30
ID: 24396077
I did try that but forgot the code snippet.

Your syntax works. Thanks!

Any clue how I can feed it the database path? When I try the code below, it opens the file with a save-as dialog ... ("What should firefox do with this file? Open with [browse], save file, do this automatically ...")
Process.Start("firefox", "-chrome chrome://sqlitemanager/content/sqlitemanager.xul" + " C:\\X\\Y.sqlite");
            

Open in new window

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINQ Select all records by MAX data syntax help 1 32
Mozilla Favorites 10 32
orderby list (from Json) 1 31
How to set focus on a dynamic control 18 28
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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

730 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