c**t 发帖数: 2744 | 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; | a9 发帖数: 21638 | 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{
| c**t 发帖数: 2744 | 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] : ).
|
|