Update
OK, this works on the client side:
Client Config file as follows:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application>
<client>
<wellknown
type="IRemotingInterface.IRemoteInterface, ANAliasName"
url="tcp://localhost:9000/RemotingExample"/>...
Hi,
Can someone please tell me how I would convert the code below to use a config file instead. I've looked at loads of examples on the web but can't quite get it to work:
Imports System.Runtime.Remoting
Imports system.Runtime.Remoting.Channels
Public Class frmClient
Private Server As...
Thanks for your replies but the penny still hasn't dropped!
JohnH: I don't understand how your code represents an improvement over the original sub main. I can see that there is one line of code less but the person writing the code still needs to know that there are two classes named One and...
Hi,
I was trying to teach myself Remoting techniques when I stumbled across the concept of Interfaces. I've made up a small console program that uses an Interface and it works fine however when I comment out the Interface code it works just the same!!! So, can someone please explain why I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.