Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
QuestionCheck mail using rpc over http protocol in c# [modified] Pin
uhs30-May-06 1:33
uhs30-May-06 1:33 
QuestionHow to send "'" to javascript from c# [modified] Pin
Rukmini T30-May-06 1:12
Rukmini T30-May-06 1:12 
AnswerRe: How to send special charecters to javascript from c# Pin
leppie30-May-06 1:17
leppie30-May-06 1:17 
Questionvirtual size of textbox form Pin
Christian Pothmann30-May-06 0:37
Christian Pothmann30-May-06 0:37 
AnswerRe: virtual size of textbox form Pin
leppie30-May-06 1:16
leppie30-May-06 1:16 
GeneralRe: virtual size of textbox form Pin
Christian Pothmann30-May-06 1:58
Christian Pothmann30-May-06 1:58 
Questionc# environment component or dll Pin
isiran30-May-06 0:37
isiran30-May-06 0:37 
QuestionAutomatic Commands and Some Other Stuff Pin
suguimoto30-May-06 0:07
suguimoto30-May-06 0:07 
Hello!Big Grin | :-D

I got a few problems. Let´s start:
I made a program that runs another (automaticly)...
for example:
< Process p = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = @"C:\Corel\CorelDraw.exe";
p.StartInfo = startInfo;
p.Start();>

As you can see there isnt a computer that can load instantly, so...
I would like to know if there is any function that can tells me when "CorelDraw" is loaded?

I made a "infinite" loop with Thread.Sleep where it checks a lot of time if p.MainWindowTitle is equal to "Corel Draw" (it checks if my program is loaded) or if part of the Title contains "Corel Draw" but I got some bugs... 1 of them is if I start Sleep function just after p.Start() just to wait until my program is loaded, it seems Corel will not load at all and my loop is going to literaly to infinite, the other problem is that I must check the comparison when the program is fully loaded =/

I got a few more questionsConfused | :confused: ...
Does anyone know how to send an automatic command... for example: "Ctrl+A" (select all)
or if I can interact with the Corel... like automaticly select "File -> Import" after that Import a file another folder. ??

Thanks!!Smile | :) (sorry for bad english)
Questionweb browser and Images in win application? Pin
Nafiseh Salmani29-May-06 23:49
Nafiseh Salmani29-May-06 23:49 
AnswerRe: web browser and Images in win application? Pin
Dr.Grimy8-Jun-06 0:19
Dr.Grimy8-Jun-06 0:19 
Questiona question about tabpages ? Pin
cmpeng3429-May-06 23:28
cmpeng3429-May-06 23:28 
AnswerRe: a question about tabpages ? Pin
stancrm29-May-06 23:33
stancrm29-May-06 23:33 
AnswerRe: a question about tabpages ? Pin
leppie30-May-06 1:14
leppie30-May-06 1:14 
QuestionWebbrowser + XML Pin
hung_ngole29-May-06 23:07
hung_ngole29-May-06 23:07 
QuestionSuggestion Needed for Encryption Pin
engsrini29-May-06 23:04
engsrini29-May-06 23:04 
AnswerRe: Suggestion Needed for Encryption Pin
stancrm29-May-06 23:10
stancrm29-May-06 23:10 
AnswerRe: Suggestion Needed for Encryption Pin
Darren_29-May-06 23:31
Darren_29-May-06 23:31 
QuestionProblem With DLL Reference Pin
dinesanp@gmail.com29-May-06 22:55
dinesanp@gmail.com29-May-06 22:55 
AnswerRe: Problem With DLL Reference Pin
stancrm29-May-06 23:15
stancrm29-May-06 23:15 
QuestionWebBrowser Control Pin
hung_ngole29-May-06 22:42
hung_ngole29-May-06 22:42 
QuestionHow to retreive the Network group name Pin
Plamen Totev29-May-06 22:39
Plamen Totev29-May-06 22:39 
AnswerRe: How to retreive the Network group name Pin
stancrm29-May-06 23:45
stancrm29-May-06 23:45 
QuestionRead From DataGrid Pin
SysJey29-May-06 22:18
SysJey29-May-06 22:18 
AnswerRe: Read From DataGrid Pin
Daniele Ferrero29-May-06 22:30
Daniele Ferrero29-May-06 22:30 
Questionvalid color Pin
alwz_nikhil29-May-06 21:16
alwz_nikhil29-May-06 21:16 

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.