Solved

Launch Firefox Add-on C#

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now