Umair-Shahzad

I am facing a very weird problem. I have two applications running at the same time, one sending data(App1) and the other receiving that data and displaying it(App2). Now the one receiving the data only works when the application window is in the background, as in when App1 is my current highlighted window and App2 is in the background. Hehe, any idea what's happening

Re: Visual C# General Application only works in background

TilakGopi

Hi,

I can suggest u to better track the error using message boxes or logging steps.

Thanx,

Ch.T.Gopi Kumar.






Re: Visual C# General Application only works in background

Indian Ocean

Hi,

Please debug it and try to find the excetion if it raises any or post the sample (similar testing )code which raises the same problem so can look into it to provide you answer,

Regards,






Re: Visual C# General Application only works in background

Umair-Shahzad

Problem is, there IS NO problem with the code. There's absolutely nothing to debug. I dont think you understand what the trouble is. Ok, imagine you opened two explorer windows, window 1 and window 2. Now window one is sending a video feed to window two which is supposed to display it. Let your imagination run a little wilder to the point where both windows are not full size, as in, you can drag them side by side without one of them overlapping another; and window 1 is the active window. Now, if i make Window 2 the active window by just clicking on it, the video feed will stop running and nothing will happen, however, when I click on window 1 again, the video starts running again...stupid isnt it





Re: Visual C# General Application only works in background

phx1h

sounds to me like the video creation wont run IN the background not the video will only play in the background like originally stated..