PDA

View Full Version : مبتدی: نام مرورگر پیش فرض



Collector
دوشنبه 02 اردیبهشت 1392, 21:22 عصر
سلام
چطوری قبل از اجرای دستور نام فایل اجرایی مرورگر اجرا کننده را داشته باشم.
Process.Start(@"http://www.google.com/");

FastCode
دوشنبه 02 اردیبهشت 1392, 21:35 عصر
windows:
http://stackoverflow.com/questions/2177957/how-to-determine-the-windows-default-browser-at-the-top-of-the-start-menu
windows/linux/unix:
http://docs.python.org/2/library/webbrowser.html