Click here to Skip to main content
15,888,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: Create new dialog from Pin
Gedrain9-Oct-05 14:49
Gedrain9-Oct-05 14:49 
GeneralRe: Create new dialog from Pin
Dave Kreskowiak10-Oct-05 4:26
mveDave Kreskowiak10-Oct-05 4:26 
AnswerRe: Create new dialog from Pin
S. Senthil Kumar9-Oct-05 19:12
S. Senthil Kumar9-Oct-05 19:12 
Questionfactorial program Pin
johnjsm9-Oct-05 8:34
johnjsm9-Oct-05 8:34 
AnswerRe: factorial program Pin
Robert Rohde9-Oct-05 8:47
Robert Rohde9-Oct-05 8:47 
AnswerRe: factorial program Pin
Anonymous9-Oct-05 20:52
Anonymous9-Oct-05 20:52 
QuestionRunning a batch file in a process from C# code in Windows98 at startup Pin
Bilal Farooq9-Oct-05 7:29
Bilal Farooq9-Oct-05 7:29 
AnswerRe: Running a batch file in a process from C# code in Windows98 at startup Pin
Dave Kreskowiak9-Oct-05 14:43
mveDave Kreskowiak9-Oct-05 14:43 
Without seeing your code, it's a little difficult to tell you what you're doing wrong. But, I can take an educated guess at it.

The standard problem with this is that you're not using a fully qualified path to find the file you're trying to run. You're probably just specifying something like myBatchFile.bat, assuming that that file will be in the current directory. This is almost always the case and a very bad assumption to make. You show never assume that the current directory is whatever you think it is. Instead, always(!) build a complete path to to the file you want, then use that full path in your command line that you want to execute.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionCan't get Big Arrow on small Line Pin
Anonymous9-Oct-05 7:01
Anonymous9-Oct-05 7:01 
AnswerRe: Can't get Big Arrow on small Line Pin
Robert Rohde9-Oct-05 8:58
Robert Rohde9-Oct-05 8:58 
GeneralRe: Can't get Big Arrow on small Line Pin
Anonymous9-Oct-05 9:33
Anonymous9-Oct-05 9:33 
QuestionApplication File Path Pin
Golden Dragon9-Oct-05 5:08
Golden Dragon9-Oct-05 5:08 
AnswerRe: Application File Path Pin
Guffa9-Oct-05 5:20
Guffa9-Oct-05 5:20 
AnswerRe: Application File Path Pin
Anoop Ananthan10-Oct-05 2:26
professionalAnoop Ananthan10-Oct-05 2:26 
GeneralRe: Application File Path Pin
Golden Dragon10-Oct-05 3:36
Golden Dragon10-Oct-05 3:36 
GeneralRe: Application File Path Pin
mav.northwind10-Oct-05 7:25
mav.northwind10-Oct-05 7:25 
QuestionHow do i change theimage quality of background images? Pin
Red_Wizard_Shot_The_Food9-Oct-05 2:44
Red_Wizard_Shot_The_Food9-Oct-05 2:44 
AnswerRe: How do i change theimage quality of background images? Pin
Christian Graus9-Oct-05 2:46
protectorChristian Graus9-Oct-05 2:46 
Questionstatus bar Pin
Saurabh Walia9-Oct-05 1:16
Saurabh Walia9-Oct-05 1:16 
AnswerRe: status bar Pin
Guffa9-Oct-05 2:12
Guffa9-Oct-05 2:12 
AnswerRe: status bar Pin
David Stone9-Oct-05 3:22
sitebuilderDavid Stone9-Oct-05 3:22 
QuestionPropertyGrid scrolls to selected property Pin
biggz_daddy8-Oct-05 17:20
biggz_daddy8-Oct-05 17:20 
AnswerRe: PropertyGrid scrolls to selected property Pin
joegood10-Oct-05 6:21
joegood10-Oct-05 6:21 
QuestionFinding the volume level of the currently recording audio? Pin
karl6438-Oct-05 17:16
karl6438-Oct-05 17:16 
QuestionAccessing property values using GetValue() Pin
mossu8-Oct-05 16:35
mossu8-Oct-05 16:35 

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.