Click here to Skip to main content
15,910,411 members
Home / Discussions / C#
   

C#

 
QuestionDirectX and Joystick Pin
Darth Pranline1-Feb-07 18:24
Darth Pranline1-Feb-07 18:24 
AnswerRe: DirectX and Joystick Pin
Christian Graus1-Feb-07 18:33
protectorChristian Graus1-Feb-07 18:33 
Questionhow to know whether a file is being used or not by any process Pin
Praveen Raghuvanshi1-Feb-07 17:54
professionalPraveen Raghuvanshi1-Feb-07 17:54 
AnswerRe: how to know whether a file is being used or not by any process Pin
Stefan Troschuetz1-Feb-07 21:00
Stefan Troschuetz1-Feb-07 21:00 
QuestionHow to get previously logged on users on windows Pin
jdkulkarni1-Feb-07 17:50
jdkulkarni1-Feb-07 17:50 
QuestionControls Pin
Jeeva Jose1-Feb-07 17:31
Jeeva Jose1-Feb-07 17:31 
AnswerRe: Controls Pin
Christian Graus1-Feb-07 18:08
protectorChristian Graus1-Feb-07 18:08 
GeneralGet form of running application Pin
Judah Gabriel Himango1-Feb-07 16:57
sponsorJudah Gabriel Himango1-Feb-07 16:57 
Despite sounding simple, this one's really stumped me.

I've got a C# desktop application running. From a second C# app, can I get the main Form of the first C# application?

I know I can create and register a .NET IPC channel and talk between the 2 processes, but that seems like overkill; I just want to get at the Form of the first application. Is there an easy way?



p.s. Please note that I need more than just the Form's handle, the Form's text. I actually need the Form instance itself.


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Check out this cutie
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: Get form of running application Pin
Christian Graus1-Feb-07 18:08
protectorChristian Graus1-Feb-07 18:08 
GeneralRe: Get form of running application Pin
Judah Gabriel Himango1-Feb-07 18:10
sponsorJudah Gabriel Himango1-Feb-07 18:10 
GeneralRe: Get form of running application Pin
Christian Graus1-Feb-07 18:19
protectorChristian Graus1-Feb-07 18:19 
GeneralRe: Get form of running application Pin
aSarafian1-Feb-07 21:35
aSarafian1-Feb-07 21:35 
GeneralRe: Get form of running application Pin
S. Senthil Kumar2-Feb-07 6:27
S. Senthil Kumar2-Feb-07 6:27 
QuestionSetting a default DateTime value in the dataset Pin
Glen Harvy1-Feb-07 15:05
Glen Harvy1-Feb-07 15:05 
QuestionPOS Application, printing control fonts (possibly using WORD API) Pin
jeweladdict1-Feb-07 14:46
jeweladdict1-Feb-07 14:46 
QuestionNo data breakpoints in vs c#? WTF? Pin
Member 961-Feb-07 13:20
Member 961-Feb-07 13:20 
AnswerRe: No data breakpoints in vs c#? WTF? Pin
Judah Gabriel Himango1-Feb-07 13:27
sponsorJudah Gabriel Himango1-Feb-07 13:27 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Member 961-Feb-07 13:39
Member 961-Feb-07 13:39 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Christian Graus1-Feb-07 14:38
protectorChristian Graus1-Feb-07 14:38 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Member 961-Feb-07 15:09
Member 961-Feb-07 15:09 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Dave Kreskowiak1-Feb-07 15:53
mveDave Kreskowiak1-Feb-07 15:53 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Member 961-Feb-07 16:54
Member 961-Feb-07 16:54 
GeneralRe: No data breakpoints in vs c#? WTF? Pin
Ravi Bhavnani1-Feb-07 18:49
professionalRavi Bhavnani1-Feb-07 18:49 
AnswerRe: No data breakpoints in vs c#? WTF? Pin
Russell Jones1-Feb-07 21:54
Russell Jones1-Feb-07 21:54 
QuestionSaving HTML without using SaveAs Pin
alanUIUC201-Feb-07 12:56
alanUIUC201-Feb-07 12:56 

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.