I am opening a website (lets say www.google.com) from my window application (.net 3.5 framework, C#) using Process. Start method. It is working fine on all machines but on a single machine its showing the error “No Application is associated with specified file for this operation”.
Process process = new Process();
process.StartInfo = new ProcessStartInfo("https://www.google.lk", string.Empty);
process.StartInfo.Verb = string.Empty;
process.Start();
The above code full-fill your requirement.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.