Solved

Launch Firefox Add-on C#

Posted on 2009-05-15
2
1,093 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
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 +…

707 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