[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Launch Firefox Add-on C#

Posted on 2009-05-15
2
Medium Priority
?
1,121 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 750 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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.
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 +…

649 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