Saturday, May 22, 2010

Opera Default Browser One Program?

How do i make Opera my default web browser for just one program?





It whould help if you knew how to do this in either C# (Visual Studio) or opera web browser itself





thanks

Opera Default Browser One Program?
If you want to launch opera from your own C# program I would do the following:





// This goes at the top of the code module


Using System.Diagnostics;





// This would go in a method somewhere


// strPathToOpera is the location of the Opera executable


// strHTMLFileToOpen would be the full path location to


// the HTML file to load or a URL


ProcessStartInfo udtInfo = new ProcessStartInfo();


udtInfo.FileName = strPathToOpera;


udtInfo.Arguments = strHTMLFileToOpen;





Process procOpera = Process.Start(udtInfo);





// If you want to wait until the browser closes to continue, then


// uncomment the next line.


//procOpera.WaitForExit();
Reply:http://my.opera.com/Tamil/blog/set-opera...








http://www.opera.com/support/tutorials/s...





this link will show you how...


hope this help!!!


No comments:

Post a Comment