Redian新闻
>
Permission issue of System.Diagnostics.Process
avatar
Permission issue of System.Diagnostics.Process# DotNet - 窗口里的风景
c*t
1
I had the following code snippets, [Code-I] and [Code-II] failed; [Code-III]
succeeded! myFullPathCmd is to print some web page into PDF. I ran:
"myFullPathCmd myParas" in Dos, which succeeded. I guess it's due to
profile
(permission). I logged in as a member of local admin account (XP Pro + SP2).
..
Very frustrated... can anyone help?
[Code-I]
System.Diagnostics.Process proc = new System.Diagnostics.Process();
try{
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = myFullPathCmd;
avatar
a9
2
1.winform or asp.net or service
2.抛什么异常?

III]
).

【在 c**t 的大作中提到】
: I had the following code snippets, [Code-I] and [Code-II] failed; [Code-III]
: succeeded! myFullPathCmd is to print some web page into PDF. I ran:
: "myFullPathCmd myParas" in Dos, which succeeded. I guess it's due to
: profile
: (permission). I logged in as a member of local admin account (XP Pro + SP2).
: ..
: Very frustrated... can anyone help?
: [Code-I]
: System.Diagnostics.Process proc = new System.Diagnostics.Process();
: try{

avatar
c*t
3
console app, I didn't redirect the error output or standard output, didn't
see any exception for all three cases.

【在 a9 的大作中提到】
: 1.winform or asp.net or service
: 2.抛什么异常?
:
: III]
: ).

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。