gpt4 book ai didi

c# - 无法在c#中打开链接

转载 作者:行者123 更新时间:2023-11-30 20:16:18 26 4
gpt4 key购买 nike

如果我尝试使用:

System.Diagnostics.Process.Start("http://google.com");

出现以下错误:

System.ComponentModel.Win32Exception: "The system cannot find the file specified"

我使用 win10visual studio

实际上我找不到解决方案或类似的东西。也许是因为我在代理后面?或者还有其他问题吗?如果是,你能帮我解决吗?

最佳答案

您可以尝试以下解决方法吗:

System.Diagnostics.Process.Start("cmd","/c start http://www.google.com");

关于c# - 无法在c#中打开链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49529559/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com