Click here to Skip to main content
15,907,497 members
Home / Discussions / C#
   

C#

 
QuestionHow can I know if CapsLock is pressed Pin
Alexandr_I20-Mar-04 11:23
Alexandr_I20-Mar-04 11:23 
AnswerRe: How can I know if CapsLock is pressed Pin
John Fisher20-Mar-04 12:12
John Fisher20-Mar-04 12:12 
GeneralRe: How can I know if CapsLock is pressed Pin
Heath Stewart20-Mar-04 13:32
protectorHeath Stewart20-Mar-04 13:32 
AnswerRe: How can I know if CapsLock is pressed Pin
Heath Stewart20-Mar-04 13:34
protectorHeath Stewart20-Mar-04 13:34 
GeneralRe: How can I know if CapsLock is pressed Pin
Alexandr_I21-Mar-04 4:30
Alexandr_I21-Mar-04 4:30 
Generalc# newbie serialization problem Pin
dorutzu20-Mar-04 11:22
dorutzu20-Mar-04 11:22 
GeneralRe: c# newbie serialization problem Pin
John Fisher20-Mar-04 12:15
John Fisher20-Mar-04 12:15 
GeneralRe: c# newbie serialization problem Pin
Heath Stewart20-Mar-04 13:24
protectorHeath Stewart20-Mar-04 13:24 
You should also read How the Runtime Locates Assemblies[^] in the .NET Framework SDK.

Serialization does pack-up your object graph (your RCClient in this case) but it needs to deserialize it back into an instance of that class so it's still required on both ends. As the previous post mentioned, put all shared classes in an assembly that both the server and client can access and make sure it can be found.

Finally, you might want to look at .NET Remoting. It serializes data in an extensible manner (i.e., you can specify whether or not to use the binary, SOAP, or a custom formatter, and whether or not to use the HTTP, TCP, or custom transport channel) and marshals it across the wire. This also opens your application up for a good AOP (aspect-oriented programming) model so that you can intercept methods and log them, encrypt them transparently to the method calls in your program, etc. Basically, you're already doing the very basics of what Remoting is, but you'll find that Remoting is a proven, extensible, and tested implementation. Read Accessing Objects in Other Application Domains using .NET Remoting[^] also in the .NET Framework SDK for more information.

 

Microsoft MVP, Visual C#
My Articles
GeneralThank you John, thank you Stewart Pin
dorutzu21-Mar-04 1:58
dorutzu21-Mar-04 1:58 
Generalsimple Transparent problem Pin
Snowjim20-Mar-04 6:31
Snowjim20-Mar-04 6:31 
GeneralRe: simple Transparent problem Pin
Nick Parker20-Mar-04 7:20
protectorNick Parker20-Mar-04 7:20 
GeneralRe: simple Transparent problem Pin
Snowjim20-Mar-04 23:33
Snowjim20-Mar-04 23:33 
QuestionTaskbar informations? Pin
Morten Kristensen20-Mar-04 5:27
Morten Kristensen20-Mar-04 5:27 
AnswerRe: Taskbar informations? Pin
kaptaintens20-Mar-04 10:04
kaptaintens20-Mar-04 10:04 
GeneralRe: Taskbar informations? Pin
Morten Kristensen21-Mar-04 1:52
Morten Kristensen21-Mar-04 1:52 
GeneralRe: Taskbar informations? Pin
kaptaintens21-Mar-04 7:53
kaptaintens21-Mar-04 7:53 
GeneralBest way to save state (Windows Forms) Pin
profoundwhispers20-Mar-04 4:29
profoundwhispers20-Mar-04 4:29 
GeneralRe: Best way to save state (Windows Forms) Pin
Heath Stewart20-Mar-04 4:50
protectorHeath Stewart20-Mar-04 4:50 
GeneralRe: Best way to save state (Windows Forms) Pin
Dave Kreskowiak20-Mar-04 5:49
mveDave Kreskowiak20-Mar-04 5:49 
GeneralRe: Best way to save state (Windows Forms) Pin
profoundwhispers20-Mar-04 22:35
profoundwhispers20-Mar-04 22:35 
GeneralWith MDI App child form Activated event to working Pin
Inpreet Singh20-Mar-04 4:09
Inpreet Singh20-Mar-04 4:09 
GeneralWith MDI App child form Activated event to working Pin
Anonymous20-Mar-04 4:05
Anonymous20-Mar-04 4:05 
Questionhow to capture a screen on a remote pc ? Pin
fu020-Mar-04 1:21
fu020-Mar-04 1:21 
AnswerRe: how to capture a screen on a remote pc ? Pin
Forrest Feather20-Mar-04 1:53
Forrest Feather20-Mar-04 1:53 
AnswerRe: how to capture a screen on a remote pc ? Pin
Heath Stewart20-Mar-04 4:45
protectorHeath Stewart20-Mar-04 4:45 

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.