Click here to Skip to main content
15,905,913 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to embed an exe file in my app and run it from code ? Pin
Colin Angus Mackay13-Feb-06 13:29
Colin Angus Mackay13-Feb-06 13:29 
hdv212 wrote:
i want to embed an exe file in my app and (to protect exe file) run it from my app ?


It isn't anything I've ever tried. One way I can think of is to embed it as a resource, then when necessary extract the resource and write it to disk and run it. When the process terminates it can then be deleted from the disk.

However, I don't see how this would protect the exe. You could always run some diagnostic tools over the wrapper application and extract the resource.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

QuestionNetwork Email Sniffer in C#? Pin
Tom Paluzzi13-Feb-06 11:01
Tom Paluzzi13-Feb-06 11:01 
GeneralRe: Network Email Sniffer in C#? Pin
LighthouseJ13-Feb-06 11:31
LighthouseJ13-Feb-06 11:31 
Questionspeech to text Pin
mahmoud_sam13-Feb-06 10:08
mahmoud_sam13-Feb-06 10:08 
QuestionTalking to Data Base Problem Pin
ytubis13-Feb-06 9:35
ytubis13-Feb-06 9:35 
AnswerRe: Talking to Data Base Problem Pin
Michael Potter13-Feb-06 9:58
Michael Potter13-Feb-06 9:58 
GeneralRe: Talking to Data Base Problem Pin
ytubis13-Feb-06 10:19
ytubis13-Feb-06 10:19 
QuestionBindingSource: BEFORE CurrentChanged? Pin
moon4413-Feb-06 9:26
moon4413-Feb-06 9:26 
AnswerRe: BindingSource: BEFORE CurrentChanged? Pin
VMSSanthosh13-Feb-06 22:32
VMSSanthosh13-Feb-06 22:32 
GeneralRe: BindingSource: BEFORE CurrentChanged? Pin
moon4414-Feb-06 6:14
moon4414-Feb-06 6:14 
QuestionDataGridView Columns Pin
Wjousts13-Feb-06 9:08
Wjousts13-Feb-06 9:08 
QuestionChanging number formats Pin
Dan Neely13-Feb-06 8:35
Dan Neely13-Feb-06 8:35 
AnswerRe: Changing number formats Pin
Dan Neely13-Feb-06 9:05
Dan Neely13-Feb-06 9:05 
AnswerRe: Changing number formats Pin
Joshua Quick13-Feb-06 12:09
Joshua Quick13-Feb-06 12:09 
QuestionEdit Oracle Objects from C# Pin
sam31513-Feb-06 8:30
sam31513-Feb-06 8:30 
AnswerRe: Edit Oracle Objects from C# Pin
George L. Jackson13-Feb-06 14:07
George L. Jackson13-Feb-06 14:07 
QuestionHow to serialize and deserialize Cursor? Pin
Rashid.Mahmood13-Feb-06 7:52
Rashid.Mahmood13-Feb-06 7:52 
AnswerRe: How to serialize and deserialize Cursor? Pin
Dave Kreskowiak13-Feb-06 17:29
mveDave Kreskowiak13-Feb-06 17:29 
GeneralRe: How to serialize and deserialize Cursor? Pin
Rashid.Mahmood13-Feb-06 20:17
Rashid.Mahmood13-Feb-06 20:17 
GeneralRe: How to serialize and deserialize Cursor? Pin
Dave Kreskowiak14-Feb-06 2:21
mveDave Kreskowiak14-Feb-06 2:21 
QuestionText to Speech Pin
de_Oracle13-Feb-06 6:54
de_Oracle13-Feb-06 6:54 
AnswerRe: Text to Speech Pin
Judah Gabriel Himango13-Feb-06 7:18
sponsorJudah Gabriel Himango13-Feb-06 7:18 
GeneralRe: Text to Speech Pin
de_Oracle14-Feb-06 6:35
de_Oracle14-Feb-06 6:35 
Questioni need to send query string value from my page to my error page in C#.NET Pin
ap_sa13-Feb-06 6:27
ap_sa13-Feb-06 6:27 
GeneralRe: i need to send query string value from my page to my error page in C#.NET Pin
Guffa13-Feb-06 7:26
Guffa13-Feb-06 7:26 

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.