Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Executing an exe with C# code Pin
Ankit Rajpoot30-Jan-09 2:18
Ankit Rajpoot30-Jan-09 2:18 
GeneralRe: Executing an exe with C# code Pin
MatthysDT30-Jan-09 2:30
MatthysDT30-Jan-09 2:30 
GeneralRe: Executing an exe with C# code Pin
musefan30-Jan-09 2:25
musefan30-Jan-09 2:25 
GeneralRe: Executing an exe with C# code Pin
MatthysDT30-Jan-09 2:33
MatthysDT30-Jan-09 2:33 
QuestionHow secure Pin
ziwez030-Jan-09 0:42
ziwez030-Jan-09 0:42 
AnswerRe: How secure Pin
musefan30-Jan-09 1:04
musefan30-Jan-09 1:04 
QuestionPDF creation library in C sharp Pin
Sudhir Mangla30-Jan-09 0:25
professionalSudhir Mangla30-Jan-09 0:25 
AnswerRe: PDF creation library in C sharp Pin
VoidMainVoid30-Jan-09 0:30
VoidMainVoid30-Jan-09 0:30 
AnswerRe: PDF creation library in C sharp Pin
sw_tech12330-Jan-09 1:02
sw_tech12330-Jan-09 1:02 
GeneralRe: PDF creation library in C sharp Pin
Sudhir Mangla30-Jan-09 1:10
professionalSudhir Mangla30-Jan-09 1:10 
AnswerRe: PDF creation library in C sharp Pin
Sudhir Mangla30-Jan-09 20:02
professionalSudhir Mangla30-Jan-09 20:02 
QuestionWindows Forms/C# - Controls disappear from Design mode of winform. Pin
Member 477535830-Jan-09 0:19
Member 477535830-Jan-09 0:19 
AnswerRe: Windows Forms/C# - Controls disappear from Design mode of winform. Pin
Ankit Rajpoot30-Jan-09 2:23
Ankit Rajpoot30-Jan-09 2:23 

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.