Click here to Skip to main content
15,903,201 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionSetWindowsHookEx on WH_CBT to capture HCBT_MOVESIZE on a single thread outside my application? Possible from C#? Pin
MogobuTheFool2-Feb-06 12:00
MogobuTheFool2-Feb-06 12:00 
AnswerRe: SetWindowsHookEx on WH_CBT to capture HCBT_MOVESIZE on a single thread outside my application? Possible from C#? Pin
S. Senthil Kumar4-Feb-06 20:14
S. Senthil Kumar4-Feb-06 20:14 
GeneralRe: SetWindowsHookEx on WH_CBT to capture HCBT_MOVESIZE on a single thread outside my application? Possible from C#? Pin
MogobuTheFool5-Feb-06 7:38
MogobuTheFool5-Feb-06 7:38 
QuestionWindows Mobile 5 Smartphone Edition Pin
dipankaronline2-Feb-06 5:22
dipankaronline2-Feb-06 5:22 
AnswerRe: Windows Mobile 5 Smartphone Edition Pin
John.Jiang2-Feb-06 6:35
John.Jiang2-Feb-06 6:35 
Questionhelp regarding .NET cryptography Pin
pprasad2-Feb-06 2:42
pprasad2-Feb-06 2:42 
QuestionHow to signal an app GUI from a .NET server Pin
Dave Midgley2-Feb-06 2:34
Dave Midgley2-Feb-06 2:34 
AnswerRe: How to signal an app GUI from a .NET server Pin
S. Senthil Kumar4-Feb-06 20:21
S. Senthil Kumar4-Feb-06 20:21 
When you setup the remoting on the server side, instead of allowing the remoting infrastructure to create server objects, create them yourself and register it using RemotingServices.Marshal[^]. You could then expose events from those objects and subscribe to them from the GUI. Something like
class RObject: MarhsalByRefObject
{
   event SomethingChangedDelegate SomethingChanged;

   public void RemoteMethod()
   {
     SomethingChanged();
   }
   }
}

class GUI
{
   void RegisterRemoteObjects()
   {
      RObject o = new RObject();
      o.SomethingChanged += ...
      RemotingServices.Marshal(...);
   }
}


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: How to signal an app GUI from a .NET server Pin
Dave Midgley4-Feb-06 22:38
Dave Midgley4-Feb-06 22:38 
QuestionAsking...... Pin
Divyang Mithaiwala2-Feb-06 0:34
Divyang Mithaiwala2-Feb-06 0:34 
AnswerRe: Asking...... Pin
Colin Angus Mackay2-Feb-06 4:17
Colin Angus Mackay2-Feb-06 4:17 
Questionnon-rectangular forms Pin
dlinks2-Feb-06 0:16
dlinks2-Feb-06 0:16 
AnswerRe: non-rectangular forms Pin
Dave Kreskowiak2-Feb-06 5:34
mveDave Kreskowiak2-Feb-06 5:34 
QuestionDelete user by using DirectoryServices Pin
osamahmirza1-Feb-06 20:03
osamahmirza1-Feb-06 20:03 
Question.net Framework Pin
Net-Programer-and-developer1-Feb-06 8:32
Net-Programer-and-developer1-Feb-06 8:32 
AnswerRe: .net Framework Pin
Dave Kreskowiak1-Feb-06 9:08
mveDave Kreskowiak1-Feb-06 9:08 
GeneralRe: .net Framework Pin
gurvinder singh alune8-Jan-09 19:18
gurvinder singh alune8-Jan-09 19:18 
GeneralRe: .net Framework Pin
Dave Kreskowiak9-Jan-09 1:50
mveDave Kreskowiak9-Jan-09 1:50 
Questionunderlying connection was closed:unable to connect to remote server exception message Pin
beachbum7141-Feb-06 6:49
beachbum7141-Feb-06 6:49 
Question.net app fails to launch until once executed by machine admin Pin
patgrape1-Feb-06 6:22
patgrape1-Feb-06 6:22 
AnswerRe: .net app fails to launch until once executed by machine admin Pin
malharone1-Feb-06 11:34
malharone1-Feb-06 11:34 
GeneralRe: .net app fails to launch until once executed by machine admin Pin
patgrape1-Feb-06 12:10
patgrape1-Feb-06 12:10 
GeneralRe: .net app fails to launch until once executed by machine admin Pin
malharone1-Feb-06 12:48
malharone1-Feb-06 12:48 
GeneralRe: .net app fails to launch until once executed by machine admin Pin
patgrape1-Feb-06 15:53
patgrape1-Feb-06 15:53 
GeneralRe: .net app fails to launch until once executed by machine admin Pin
patgrape2-Feb-06 4:53
patgrape2-Feb-06 4:53 

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.