Hi
How we can open Youtube window using google chrome & Edge / Firefox
Thanks
Hi
How we can open Youtube window using google chrome & Edge / Firefox
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal YelveRank #178 · 13.6K reputationPosted Dec 5, 2022, 5:35 AM EST
Hi Ramco,
try this in your Console app
static void Main(string[] args) { Console.WriteLine("Start!"); // Chrome var _process = new ProcessStartInfo(@"C:\Program Files (x86)\Google\Chrome\Application\new_chrome.exe", "YouTube video URL"); // for IE // var _process = new ProcessStartInfo(@"C:\Program Files\Internet Explorer\iexplore.exe", "YouTube video URL"); // for Edge // var _process = new ProcessStartInfo(@"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", YouTube video URL); Process.Start(_process); }