Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
AnswerRe: create application in .net where dll is on server and application on some client machine Pin
Pete O'Hanlon23-Jan-11 22:26
mvePete O'Hanlon23-Jan-11 22:26 
GeneralRe: create application in .net where dll is on server and application on some client machine Pin
S.Aijaz25-Jan-11 0:28
S.Aijaz25-Jan-11 0:28 
AnswerRe: create application in .net where dll is on server and application on some client machine Pin
PIEBALDconsult24-Jan-11 1:58
mvePIEBALDconsult24-Jan-11 1:58 
QuestionGetting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
HalliHaida23-Jan-11 17:38
HalliHaida23-Jan-11 17:38 
AnswerRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
Eddy Vluggen24-Jan-11 4:59
professionalEddy Vluggen24-Jan-11 4:59 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
HalliHaida24-Jan-11 21:24
HalliHaida24-Jan-11 21:24 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
Eddy Vluggen25-Jan-11 8:25
professionalEddy Vluggen25-Jan-11 8:25 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
HalliHaida27-Jan-11 1:08
HalliHaida27-Jan-11 1:08 
Hi,

Thanks for the reply. Just for clarification, I am reducing my statement of problem to the scenario below.

I have created the following sample code/setup. The setup is, a form (receiver) will activate itself on receiving a event from the socket, another form (sender) which will send the event to the receiver form.

FormRecvr:

1) Create a simple form with textbox control

2) Have a TCP listner listning on some port to receive the event

3) On the reception of event, activate the form i.e bring it to front so that it has focus and user can type some text.

FormSender:

1) Create a simple form with two button controls, one to activate the rcvr form by sending an event through socket and the other to exit the application.

2) Create a TCP socket with the listner and send the event.

After executing this simple program, what I have noticed is the receiver form doesn't get the focus. The taskbar menu of that app keeps blinking. The window doesn't come as foreground.

I have tried the following to bring it to focus.

this.TopMost = true;

this.Activate();

this.TopMost = false;

So, you mean to say, that even the behavior of this sample set up is expected? There is no way to make this setup work in the expected way?

Please do the needful.

Thanks in advance.
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
Eddy Vluggen27-Jan-11 9:06
professionalEddy Vluggen27-Jan-11 9:06 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
HalliHaida27-Jan-11 18:08
HalliHaida27-Jan-11 18:08 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
Eddy Vluggen27-Jan-11 20:36
professionalEddy Vluggen27-Jan-11 20:36 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
HalliHaida30-Jan-11 18:21
HalliHaida30-Jan-11 18:21 
GeneralRe: Getting focus to a form that doesn't show in taskbar and Alt + Tab menu Pin
Eddy Vluggen31-Jan-11 6:51
professionalEddy Vluggen31-Jan-11 6:51 
Questioni have this code, i need it in class Pin
Gali197823-Jan-11 9:02
Gali197823-Jan-11 9:02 
AnswerRe: i have this code, i need it in class Pin
Pete O'Hanlon23-Jan-11 9:12
mvePete O'Hanlon23-Jan-11 9:12 
AnswerRe: i have this code, i need it in class Pin
Manfred Rudolf Bihy23-Jan-11 9:26
professionalManfred Rudolf Bihy23-Jan-11 9:26 
AnswerRe: i have this code, i need it in class Pin
fjdiewornncalwe23-Jan-11 10:20
professionalfjdiewornncalwe23-Jan-11 10:20 
AnswerRe: i have this code, i need it in class Pin
Luc Pattyn23-Jan-11 10:39
sitebuilderLuc Pattyn23-Jan-11 10:39 
AnswerRe: i have this code, i need it in class Pin
Abhinav S23-Jan-11 17:38
Abhinav S23-Jan-11 17:38 
AnswerRe: i have this code, i need it in class Pin
Thomas Krojer24-Jan-11 0:16
Thomas Krojer24-Jan-11 0:16 
QuestionHow to hosting custom deisgner ? Pin
hdv21223-Jan-11 8:51
hdv21223-Jan-11 8:51 
AnswerRe: How to hosting custom deisgner ? Pin
Henry Minute23-Jan-11 10:18
Henry Minute23-Jan-11 10:18 
GeneralRe: How to hosting custom deisgner ? Pin
hdv21223-Jan-11 10:41
hdv21223-Jan-11 10:41 
GeneralRe: How to hosting custom deisgner ? Pin
Henry Minute23-Jan-11 10:44
Henry Minute23-Jan-11 10:44 
GeneralRe: How to hosting custom deisgner ? Pin
hdv21223-Jan-11 11:51
hdv21223-Jan-11 11:51 

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.