Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I have managed to get a hold of the remote object in the client app by using the following code

oRemoteRandomServer = CType(Activator.GetObject(GetType(iMyTest), "tcp://localhost:6100/RandomServer.rem"), iMyTest)

 

But I don't like the idea of hard coding the computer name and port#, the best approach would be to get the settings from app.config

 

Any help appreciated

/Kejpa

Posted

Hi,

after a look at it I think it's covering .NET 1.1 and I'm in 2.0 :(

 

I guess the easiest way is to parse the app.config file

 

Best regards

/Kejpa

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...