Click here to Skip to main content
15,881,852 members
Home / Discussions / C#
   

C#

 
AnswerRe: code for genetic algorithm Pin
Marco Bertschi17-Mar-13 23:55
protectorMarco Bertschi17-Mar-13 23:55 
GeneralRe: code for genetic algorithm Pin
Keith Barrow18-Mar-13 1:49
professionalKeith Barrow18-Mar-13 1:49 
AnswerRe: code for genetic algorithm Pin
Hari Om Prakash Sharma18-Mar-13 1:40
Hari Om Prakash Sharma18-Mar-13 1:40 
AnswerWhat Is the code of one hand clapping? Pin
Keith Barrow18-Mar-13 1:51
professionalKeith Barrow18-Mar-13 1:51 
GeneralRe: What Is the code of one hand clapping? Pin
Pete O'Hanlon18-Mar-13 1:54
mvePete O'Hanlon18-Mar-13 1:54 
GeneralRe: What Is the code of one hand clapping? Pin
Marco Bertschi18-Mar-13 3:26
protectorMarco Bertschi18-Mar-13 3:26 
SuggestionRe: code for genetic algorithm Pin
Steve4419-Mar-13 15:04
Steve4419-Mar-13 15:04 
QuestionRunning .exe in windows form but it opens an external window Pin
Sachin k Rajput 17-Mar-13 21:03
Sachin k Rajput 17-Mar-13 21:03 
I'm trying to open openoffice/Libreoffice impress(simpress.exe) in my C# windows form.
But it opens in its own window and there is no data on form.
I want to integrate it in my form.
This is my code:
C#
ProcessStartInfo proc = new ProcessStartInfo();
proc.FileName = @"C:\Program Files\LibreOffice 4.0\program\simpress.exe";
 proc.UseShellExecute = true;
            var process = Process.Start(proc);
            Thread.Sleep(2000);
 SetParent(process.MainWindowHandle, this.Handle);


It open Libreoffice impress but not in my form.
How can I integrate it with my form?
Thanks!
AnswerRe: Running .exe in windows form but it opens an external window Pin
Richard MacCutchan17-Mar-13 23:54
mveRichard MacCutchan17-Mar-13 23:54 
AnswerRe: Running .exe in windows form but it opens an external window Pin
Eddy Vluggen18-Mar-13 1:32
professionalEddy Vluggen18-Mar-13 1:32 
GeneralRe: Running .exe in windows form but it opens an external window Pin
Sachin k Rajput 18-Mar-13 3:29
Sachin k Rajput 18-Mar-13 3:29 
AnswerRe: Running .exe in windows form but it opens an external window Pin
Hari Om Prakash Sharma18-Mar-13 1:47
Hari Om Prakash Sharma18-Mar-13 1:47 
GeneralRe: Running .exe in windows form but it opens an external window Pin
Pete O'Hanlon18-Mar-13 1:55
mvePete O'Hanlon18-Mar-13 1:55 
GeneralRe: Running .exe in windows form but it opens an external window Pin
dusty_dex18-Mar-13 2:42
dusty_dex18-Mar-13 2:42 
GeneralRe: Running .exe in windows form but it opens an external window Pin
Pete O'Hanlon18-Mar-13 2:44
mvePete O'Hanlon18-Mar-13 2:44 
GeneralRe: Running .exe in windows form but it opens an external window Pin
dusty_dex18-Mar-13 2:55
dusty_dex18-Mar-13 2:55 
GeneralRe: Running .exe in windows form but it opens an external window Pin
Sachin k Rajput 18-Mar-13 3:28
Sachin k Rajput 18-Mar-13 3:28 
GeneralRe: Running .exe in windows form but it opens an external window Pin
dusty_dex18-Mar-13 5:07
dusty_dex18-Mar-13 5:07 
AnswerRe: Running .exe in windows form but it opens an external window Pin
Vasudevan Deepak Kumar18-Mar-13 9:12
Vasudevan Deepak Kumar18-Mar-13 9:12 
Questionwhat is the meaning of this? Syntax error in UPDATE statement. Pin
kruczynski12316-Mar-13 18:43
kruczynski12316-Mar-13 18:43 
AnswerRe: what is the meaning of this? Syntax error in UPDATE statement. Pin
PIEBALDconsult16-Mar-13 19:23
mvePIEBALDconsult16-Mar-13 19:23 
AnswerRe: what is the meaning of this? Syntax error in UPDATE statement. Pin
Richard MacCutchan16-Mar-13 22:11
mveRichard MacCutchan16-Mar-13 22:11 
AnswerRe: what is the meaning of this? Syntax error in UPDATE statement. Pin
OriginalGriff16-Mar-13 22:54
mveOriginalGriff16-Mar-13 22:54 
GeneralRe: what is the meaning of this? Syntax error in UPDATE statement. Pin
PIEBALDconsult17-Mar-13 10:45
mvePIEBALDconsult17-Mar-13 10:45 
AnswerRe: what is the meaning of this? Syntax error in UPDATE statement. Pin
Abhinav S18-Mar-13 6:37
Abhinav S18-Mar-13 6:37 

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.