Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
AnswerRe: cut, copy, paste in the box. Pin
wasife23-Jun-06 2:35
wasife23-Jun-06 2:35 
QuestionHow do I paint an 'inverted' selection rectangle? Pin
srev23-Jun-06 0:44
srev23-Jun-06 0:44 
AnswerRe: How do I paint an 'inverted' selection rectangle? Pin
Josh Smith23-Jun-06 4:19
Josh Smith23-Jun-06 4:19 
GeneralRe: How do I paint an 'inverted' selection rectangle? Pin
srev23-Jun-06 9:43
srev23-Jun-06 9:43 
AnswerRe: Using Centralized Database Pin
J4amieC22-Jun-06 23:40
J4amieC22-Jun-06 23:40 
AnswerRe: Hi All, Pin
Not Active23-Jun-06 2:23
mentorNot Active23-Jun-06 2:23 
QuestionAdd CSharp User Control To CDialogBar in VC++ Pin
scorpion_pgm8222-Jun-06 22:48
scorpion_pgm8222-Jun-06 22:48 
QuestionHow to get assembly version for a remote type? Pin
mav.northwind22-Jun-06 22:13
mav.northwind22-Jun-06 22:13 
Hi folks!
I'm a little stumped at the moment and don't know where to look, so can anyone please give me a little kick-start?

I've got a remoting application and want to find out the version of the assembly the remote type is loaded from. To make the question a little clearer:
Both the server and the client have an assembly "x.dll" containing the MBRObject-derived type that's being used with remoting, let's call it "MyServer".
The client creates an instance of the remoting object using
MyServer srv = (MyServer)Activator.CreateInstance(typeof(MyServer));
in combination with a config file to get a reference to the remote MyServer instance.

When I look at srv.GetType() I get the type information from x.dll at the client.
What I need is a way to get the type information (or rather assembly information) for x.dll at the server, because the versions of these 2 assemblies do not neccessarily match and I want to find out if there are any incompatibilities.


Regards,
mav

--
Black holes are the places where god divided by 0...
AnswerRe: How to get assembly version for a remote type? Pin
leppie22-Jun-06 23:07
leppie22-Jun-06 23:07 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 0:17
mav.northwind23-Jun-06 0:17 
GeneralRe: How to get assembly version for a remote type? Pin
Not Active23-Jun-06 3:47
mentorNot Active23-Jun-06 3:47 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 6:21
mav.northwind23-Jun-06 6:21 
QuestionC# WMI Connection Pin
Shaps22-Jun-06 21:55
Shaps22-Jun-06 21:55 
AnswerRe: C# WMI Connection Pin
Mattias Olgerfelt7-Mar-07 1:24
Mattias Olgerfelt7-Mar-07 1:24 
QuestionPaint Event Handler [modified] Pin
printscreen1234522-Jun-06 21:38
printscreen1234522-Jun-06 21:38 
QuestionTreeView visible Pin
ytubis22-Jun-06 21:12
ytubis22-Jun-06 21:12 
QuestionDataGridView Problem? [modified] Pin
Jax_qqq22-Jun-06 19:53
Jax_qqq22-Jun-06 19:53 
QuestionHtml reset button is called when esc button is clicked. how can i avoid it? Pin
nachisaravanan22-Jun-06 18:49
nachisaravanan22-Jun-06 18:49 
AnswerRe: Html reset button is called when esc button is clicked. how can i avoid it? Pin
Vasudevan Deepak Kumar22-Jun-06 20:43
Vasudevan Deepak Kumar22-Jun-06 20:43 
QuestionWhat is "this" Pin
urbane.tiger22-Jun-06 17:01
urbane.tiger22-Jun-06 17:01 
AnswerRe: What is "this" Pin
Esmo200022-Jun-06 17:18
Esmo200022-Jun-06 17:18 
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 18:17
urbane.tiger22-Jun-06 18:17 
GeneralRe: What is "this" Pin
Robert Rohde22-Jun-06 20:33
Robert Rohde22-Jun-06 20:33 
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 22:01
urbane.tiger22-Jun-06 22:01 
AnswerRe: What is "this" Pin
BoneSoft23-Jun-06 5:37
BoneSoft23-Jun-06 5:37 

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.