过程中的问题.start [英] Problem in process .start

查看:127
本文介绍了过程中的问题.start的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我试图用苏门答腊pdf打开一个pdf文件,通过代码

为我使用以下C#代码

 System.Diagnostics.Process.Start(  SumatraPDF.exe  F:\ Boooksmaster / 198011_OU_Harida_Saragu.pdf); 



但是搜索pdf文件的代码工作目录

请帮我解决这个问题



我使用wpf和c#

解决方案

尝试:

 System.Diagnostics.Process.Start(  SumatraPDF.exe @  F: \Boooksmaster / 198011_OU_Harida_Saragu.pdf); 


Hi Im trying to open a pdf file in sumatra pdf through code
for that i Used following C# code

System.Diagnostics.Process.Start("SumatraPDF.exe","F:\Boooksmaster/198011_OU_Harida_Saragu.pdf");


But it Searching the code working directory for the pdf file
Please help me to solve this

Im using wpf and c#

解决方案

Try:

System.Diagnostics.Process.Start("SumatraPDF.exe",@"F:\Boooksmaster/198011_OU_Harida_Saragu.pdf");


这篇关于过程中的问题.start的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆