Solved

Launch Firefox Add-on C#

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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 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.

758 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

20 Experts available now in Live!

Get 1:1 Help Now