Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: parallel port in c# Pin
Mohamad Al Husseiny1-Aug-05 8:31
Mohamad Al Husseiny1-Aug-05 8:31 
GeneralXML reader/writer Pin
felopater1-Aug-05 7:46
felopater1-Aug-05 7:46 
GeneralRe: XML reader/writer Pin
Mohamad Al Husseiny1-Aug-05 9:33
Mohamad Al Husseiny1-Aug-05 9:33 
GeneralRe: XML reader/writer Pin
DavidNohejl1-Aug-05 10:42
DavidNohejl1-Aug-05 10:42 
GeneralRe: XML reader/writer Pin
Mohamad Al Husseiny1-Aug-05 20:06
Mohamad Al Husseiny1-Aug-05 20:06 
QuestionAnyone have a clue? Pin
Renjith Ramachandran1-Aug-05 7:34
Renjith Ramachandran1-Aug-05 7:34 
AnswerRe: Anyone have a clue? Pin
Mohamad Al Husseiny1-Aug-05 8:28
Mohamad Al Husseiny1-Aug-05 8:28 
AnswerRe: Anyone have a clue? Pin
Guffa1-Aug-05 9:07
Guffa1-Aug-05 9:07 
GeneralHash Table -Issue Pin
Sevugan1-Aug-05 7:32
Sevugan1-Aug-05 7:32 
GeneralHash Table - Issue Pin
Anonymous1-Aug-05 7:18
Anonymous1-Aug-05 7:18 
GeneralRe: Hash Table - Issue Pin
Alomgir Miah1-Aug-05 7:36
Alomgir Miah1-Aug-05 7:36 
GeneralRe: Hash Table - Issue Pin
S. Senthil Kumar1-Aug-05 7:40
S. Senthil Kumar1-Aug-05 7:40 
GeneralRe: Hash Table - Issue Pin
Alomgir Miah1-Aug-05 7:58
Alomgir Miah1-Aug-05 7:58 
GeneralRe: Hash Table - Issue Pin
Matt Gerrans1-Aug-05 8:31
Matt Gerrans1-Aug-05 8:31 
GeneralRe: Hash Table - Issue Pin
mav.northwind1-Aug-05 9:27
mav.northwind1-Aug-05 9:27 
GeneralClosing Crystal Report's Database Connection Pin
kornstyle1-Aug-05 7:10
kornstyle1-Aug-05 7:10 
GeneralUNC Patch Problem for calling a batch file. Pin
tstang1-Aug-05 7:01
tstang1-Aug-05 7:01 
I am presently trying to use just the UNC patch to the location of the batch.exe file that is located on a server. The example I am attempting is here below.
Process p = null;
p = new Process();
string targetDir;
targetDir = string.Format(@"\\servername\sharename\foldername\parentfolder");
p.StartInfo.WorkingDirectory = targetDir;
p.StartInfo.FileName = "Scan.bat";
p.StartInfo.Arguments = string.Format("Batch File Console");
p.StartInfo.CreateNoWindow = false;
p.Start();
p.WaitForExit();
Form1 f = new Form1();
MessageBox.Show ("Selected script has been Completed");
this.Close();

Is there a way to use a UNC patch without having a drive letter mapped to this share.



Thanks tstang
GeneralRe: UNC Patch Problem for calling a batch file. Pin
timbobsteve2-Aug-05 12:47
timbobsteve2-Aug-05 12:47 
GeneralVS 2005 Mobile Deployment Pin
Kee-Won Hong1-Aug-05 6:03
Kee-Won Hong1-Aug-05 6:03 
GeneralRe: VS 2005 Mobile Deployment Pin
Not Active1-Aug-05 6:51
mentorNot Active1-Aug-05 6:51 
GeneralRe: VS 2005 Mobile Deployment Pin
Kee-Won Hong1-Aug-05 6:52
Kee-Won Hong1-Aug-05 6:52 
GeneralLabel printing using zebra printers Pin
Sangee_CSC1-Aug-05 5:32
Sangee_CSC1-Aug-05 5:32 
GeneralRe: Label printing using zebra printers Pin
Renjith Ramachandran1-Aug-05 7:39
Renjith Ramachandran1-Aug-05 7:39 
GeneralRe: Label printing using zebra printers Pin
Anonymous1-Aug-05 7:56
Anonymous1-Aug-05 7:56 
GeneralC#.Net DB [Combox] Pin
| Muhammad Waqas Butt |1-Aug-05 5:17
professional| Muhammad Waqas Butt |1-Aug-05 5:17 

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.