Click here to Skip to main content
15,924,038 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView Help urgent Pin
Naveed Shoaib5-Apr-06 9:43
Naveed Shoaib5-Apr-06 9:43 
QuestionCreating a Process question!!! Pin
tryston025-Apr-06 9:22
tryston025-Apr-06 9:22 
AnswerRe: Creating a Process question!!! Pin
Dan Neely5-Apr-06 9:58
Dan Neely5-Apr-06 9:58 
GeneralRe: Creating a Process question!!! Pin
tryston025-Apr-06 10:04
tryston025-Apr-06 10:04 
GeneralRe: Creating a Process question!!! Pin
Dan Neely5-Apr-06 10:07
Dan Neely5-Apr-06 10:07 
GeneralRe: Creating a Process question!!! Pin
tryston025-Apr-06 10:13
tryston025-Apr-06 10:13 
GeneralRe: Creating a Process question!!! Pin
tryston025-Apr-06 10:22
tryston025-Apr-06 10:22 
GeneralRe: Creating a Process question!!! Pin
Graham Nimbley5-Apr-06 10:25
Graham Nimbley5-Apr-06 10:25 
Off the top of my head, this won't work. Firstly cmd won't return (i.e. close) and it won't execute SubmitFax as the /C argument of cmd is missing. Instead use SubmitFax for the FileName property:

private void GenerateFax(string output, string subject, string faxServer, string account, string files, string phone)<br />
{<br />
StringBuilder executeString = new StringBuilder();<br />
executeString.Append("/S " + faxServer);<br />
executeString.Append(" /U " + account);<br />
executeString.Append(" /R " + phone);<br />
executeString.Append(" /O " + output);<br />
executeString.Append(" /B " + subject + " ");<br />
executeString.Append(files);<br />
executeString.Append(" " + "/C NO COVER PAGE");<br />
<br />
Process process = new Process();<br />
process.StartInfo.FileName = "SubmitFax";<br />
process.StartInfo.Arguments = executeString.ToString();<br />
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;<br />
process.Start();<br />
}<br />


Graham
GeneralRe: Creating a Process question!!! Pin
tryston025-Apr-06 10:30
tryston025-Apr-06 10:30 
GeneralRe: Creating a Process question!!! Pin
Graham Nimbley5-Apr-06 10:34
Graham Nimbley5-Apr-06 10:34 
GeneralRe: Creating a Process question!!! Pin
tryston025-Apr-06 10:51
tryston025-Apr-06 10:51 
GeneralRe: Creating a Process question!!! Pin
tryston026-Apr-06 4:58
tryston026-Apr-06 4:58 
GeneralRe: Creating a Process question!!! Pin
Graham Nimbley6-Apr-06 12:11
Graham Nimbley6-Apr-06 12:11 
QuestionHow to avoid dragging a form Pin
Elvia Gonzalez5-Apr-06 9:14
Elvia Gonzalez5-Apr-06 9:14 
QuestionRecognising barcode? Pin
Vertyg05-Apr-06 8:55
Vertyg05-Apr-06 8:55 
AnswerRe: Recognising barcode? Pin
Gary Thom6-Apr-06 4:07
Gary Thom6-Apr-06 4:07 
GeneralRe: Recognising barcode? Pin
Vertyg06-Apr-06 9:52
Vertyg06-Apr-06 9:52 
Questionoverriding an @ to force control chars to be interpreted Pin
Dan Neely5-Apr-06 8:37
Dan Neely5-Apr-06 8:37 
AnswerRe: overriding an @ to force control chars to be interpreted Pin
Guffa5-Apr-06 9:21
Guffa5-Apr-06 9:21 
Questionxpath not working with an xmlns attribute Pin
Hari 20095-Apr-06 6:54
Hari 20095-Apr-06 6:54 
AnswerRe: xpath not working with an xmlns attribute Pin
Guffa5-Apr-06 8:02
Guffa5-Apr-06 8:02 
GeneralRe: xpath not working with an xmlns attribute Pin
Hari 20095-Apr-06 8:43
Hari 20095-Apr-06 8:43 
QuestionSoapHeaders??? Pin
bakerfishsticks5-Apr-06 6:05
bakerfishsticks5-Apr-06 6:05 
QuestionClearing event handlers Pin
vineas5-Apr-06 5:44
vineas5-Apr-06 5:44 
AnswerRe: Clearing event handlers Pin
Ed.Poore5-Apr-06 7:46
Ed.Poore5-Apr-06 7:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.