Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
AnswerRe: a ? b : c? PinPopular
Pete O'Hanlon30-Jan-09 2:35
mvePete O'Hanlon30-Jan-09 2:35 
AnswerRe: a ? b : c? Pin
EliottA30-Jan-09 3:13
EliottA30-Jan-09 3:13 
AnswerRe: a ? b : c? Pin
#realJSOP30-Jan-09 3:28
professional#realJSOP30-Jan-09 3:28 
GeneralRe: a ? b : c? Pin
PIEBALDconsult30-Jan-09 7:04
mvePIEBALDconsult30-Jan-09 7:04 
AnswerRe: a ? b : c? Pin
Najmal31-Jan-09 4:38
Najmal31-Jan-09 4:38 
QuestionRegister a ocx in system Pin
anishkannan30-Jan-09 2:13
anishkannan30-Jan-09 2:13 
AnswerRe: Register a ocx in system Pin
Dave Kreskowiak30-Jan-09 6:06
mveDave Kreskowiak30-Jan-09 6:06 
GeneralRe: Register a ocx in system Pin
Najmal31-Jan-09 4:41
Najmal31-Jan-09 4:41 
QuestionHow to use ConfigurationManager to modifying "applicationSettings" section of App.config using .NET (C#) Visual Studio2005 Pin
Thomas_Mathews30-Jan-09 2:04
Thomas_Mathews30-Jan-09 2:04 
AnswerRe: How to use ConfigurationManager to modifying "applicationSettings" section of App.config using .NET (C#) Visual Studio2005 Pin
Manas Bhardwaj30-Jan-09 2:10
professionalManas Bhardwaj30-Jan-09 2:10 
AnswerRe: How to use ConfigurationManager to modifying "applicationSettings" section of App.config using .NET (C#) Visual Studio2005 Pin
Najmal31-Jan-09 4:50
Najmal31-Jan-09 4:50 
AnswerRe: How to use ConfigurationManager to modifying "applicationSettings" section of App.config using .NET (C#) Visual Studio2005 Pin
Thomas_Mathews1-Feb-09 23:03
Thomas_Mathews1-Feb-09 23:03 
QuestionXor the hex values Pin
M. J. Jaya Chitra30-Jan-09 1:51
M. J. Jaya Chitra30-Jan-09 1:51 
AnswerRe: Xor the hex values Pin
musefan30-Jan-09 2:05
musefan30-Jan-09 2:05 
GeneralRe: Xor the hex values Pin
M. J. Jaya Chitra30-Jan-09 2:11
M. J. Jaya Chitra30-Jan-09 2:11 
GeneralRe: Xor the hex values Pin
musefan30-Jan-09 2:20
musefan30-Jan-09 2:20 
GeneralRe: Xor the hex values Pin
musefan30-Jan-09 2:19
musefan30-Jan-09 2:19 
GeneralRe: Xor the hex values Pin
M. J. Jaya Chitra30-Jan-09 18:07
M. J. Jaya Chitra30-Jan-09 18:07 
GeneralRe: Xor the hex values Pin
cevikcaner3-Sep-09 20:40
cevikcaner3-Sep-09 20:40 
AnswerRe: Xor the hex values Pin
harold aptroot30-Jan-09 2:47
harold aptroot30-Jan-09 2:47 
QuestionExecuting an exe with C# code Pin
MatthysDT30-Jan-09 1:36
MatthysDT30-Jan-09 1:36 
I am attempting to write some code that will execute one of my EXE's from another project.

This other EXE file uses an INI file which is located in the same folder as the exe itself.

But when I run the exe file using C# code, the exe creates a new default INI file here: C:\Documents and Settings\UserName\Local Settings\Application Data\Temporary Projects\KeepAlive\bin\Debug (this is the projects directory)

How do I execute an exe in code asif it was simply a shorcut being double-clicked on the desktop?

I have tried the following:
Process.Start(@ApplicationFullPath);


string str  = (@ApplicationFullPath;
Process process = new Process();
process.StartInfo.FileName = str;
process.Start 


Both of these solution had the same problem.
AnswerRe: Executing an exe with C# code Pin
musefan30-Jan-09 1:38
musefan30-Jan-09 1:38 
GeneralRe: Executing an exe with C# code Pin
MatthysDT30-Jan-09 1:48
MatthysDT30-Jan-09 1:48 
GeneralRe: Executing an exe with C# code Pin
musefan30-Jan-09 1:58
musefan30-Jan-09 1:58 
GeneralRe: Executing an exe with C# code Pin
MatthysDT30-Jan-09 2:06
MatthysDT30-Jan-09 2:06 

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.