Click here to Skip to main content
15,906,106 members
Home / Discussions / C#
   

C#

 
Questionconvert a DataTable to a multi-line graph in c# Pin
Jordao8529-Jun-11 4:13
Jordao8529-Jun-11 4:13 
AnswerRe: convert a DataTable to a multi-line graph in c# Pin
Blue_Boy29-Jun-11 4:29
Blue_Boy29-Jun-11 4:29 
QuestionWhy Control.FromHandle(IntPtr) returns null in one hooked process and returns valid object of “Form”? in another hooked process? Pin
glitteringsound29-Jun-11 3:13
glitteringsound29-Jun-11 3:13 
I am facing a problem related to get out all the controls from some hooked process. My SpyDll launched into hooked process sucessfully, But when I check the statement

Control control = Control.FromHandle(MainWindowHandle), it returns null into control object where "MainWindowhandle"is just a native main window handle of that hooked process, which you always take from .NET "Process" class after launching that process.

But STRANGLY it happens that in some other hooked process which is the same C# .NET application, it returns valid object of Main "WinForm".

So why it will not work in above case? Are there any exceptions to use "MainWindowHandle" properly. In my case both are seperate .NET managed processes programmed in C#. Any process configuration needs to maintain specially while creating that process?

Regards Usman
QuestionDot Net Remoting [modified] Pin
Aneesh M29-Jun-11 1:14
Aneesh M29-Jun-11 1:14 
AnswerRe: Dot Net Remoting Pin
Mario Majčica29-Jun-11 1:49
professionalMario Majčica29-Jun-11 1:49 
GeneralRe: Dot Net Remoting Pin
Aneesh M1-Jul-11 0:29
Aneesh M1-Jul-11 0:29 
AnswerRe: Dot Net Remoting Pin
Corinna John29-Jun-11 5:04
Corinna John29-Jun-11 5:04 
QuestionActivator.CreateInstance Pin
scotlandc28-Jun-11 4:12
scotlandc28-Jun-11 4:12 
AnswerRe: Activator.CreateInstance Pin
BobJanova28-Jun-11 4:17
BobJanova28-Jun-11 4:17 
AnswerRe: Activator.CreateInstance Pin
PIEBALDconsult28-Jun-11 14:29
mvePIEBALDconsult28-Jun-11 14:29 
GeneralRe: Activator.CreateInstance Pin
scotlandc28-Jun-11 21:16
scotlandc28-Jun-11 21:16 
GeneralRe: Activator.CreateInstance Pin
BobJanova28-Jun-11 22:29
BobJanova28-Jun-11 22:29 
GeneralRe: Activator.CreateInstance Pin
scotlandc28-Jun-11 23:28
scotlandc28-Jun-11 23:28 
Questionhow can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
aspkiddy28-Jun-11 2:42
aspkiddy28-Jun-11 2:42 
AnswerRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
Not Active28-Jun-11 2:49
mentorNot Active28-Jun-11 2:49 
GeneralRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
marszheng28-Jun-11 15:03
marszheng28-Jun-11 15:03 
GeneralRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
Not Active28-Jun-11 15:45
mentorNot Active28-Jun-11 15:45 
AnswerRe: how can I retrieve values ​​from a textBox in another screen after the user set / send it Pin
BobJanova28-Jun-11 22:33
BobJanova28-Jun-11 22:33 
QuestionProblem with reteriving xml data from sql data base. Pin
prasadbuddhika28-Jun-11 0:23
prasadbuddhika28-Jun-11 0:23 
AnswerRe: Problem with reteriving xml data from sql data base. Pin
abhinish28-Jun-11 0:35
abhinish28-Jun-11 0:35 
QuestionProblem with Process.HasExited Pin
Nigel Mackay27-Jun-11 23:52
Nigel Mackay27-Jun-11 23:52 
AnswerRe: Problem with Process.HasExited PinPopular
BobJanova27-Jun-11 23:55
BobJanova27-Jun-11 23:55 
GeneralRe: Problem with Process.HasExited Pin
Nigel Mackay28-Jun-11 0:08
Nigel Mackay28-Jun-11 0:08 
QuestionCode style [modified] Pin
Lutosław27-Jun-11 23:43
Lutosław27-Jun-11 23:43 
AnswerRe: Code style Pin
V.27-Jun-11 23:50
professionalV.27-Jun-11 23:50 

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.