2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by saravind84
0

Hi,

You can use the following function to start firefox.
Pass the file to be open as an argument to this function.

private void StartFirefox(string strFileName)
        {
            ProcessStartInfo psi = new ProcessStartInfo();
            //psi.CreateNoWindow = true;
            psi.WindowStyle = ProcessWindowStyle.Hidden;
            psi.FileName = "firefox.exe";
            psi.Arguments = strFileName;
            Process p = System.Diagnostics.Process.Start(psi);
        }

Edited by saravind84: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.