Click here to Skip to main content
16,005,181 members
Home / Discussions / C#
   

C#

 
GeneralRe: PostMessage() vs. SendMessage() Pin
jinzhecheng7-Jun-05 3:57
jinzhecheng7-Jun-05 3:57 
Questionhow see at the same time two active forms? Pin
Sasuko3-Jun-05 11:47
Sasuko3-Jun-05 11:47 
AnswerRe: how see at the same time two active forms? Pin
S. Senthil Kumar3-Jun-05 21:05
S. Senthil Kumar3-Jun-05 21:05 
GeneralRe: how see at the same time two active forms? Pin
Sasuko3-Jun-05 22:52
Sasuko3-Jun-05 22:52 
GeneralRe: how see at the same time two active forms? Pin
S. Senthil Kumar3-Jun-05 23:24
S. Senthil Kumar3-Jun-05 23:24 
GeneralRe: how see at the same time two active forms? Pin
Anonymous4-Jun-05 1:15
Anonymous4-Jun-05 1:15 
GeneralRe: how see at the same time two active forms? Pin
Dave Kreskowiak4-Jun-05 4:00
mveDave Kreskowiak4-Jun-05 4:00 
Generalmultiple interfaces Pin
_ra3-Jun-05 10:21
_ra3-Jun-05 10:21 
I have two interfaces on the server side.
they are implemented such as:
<code>
public class IndexServerObject : MarshalByRefObject, ISend
{.....}

public class PeerClientObject : MarshalByRefObject, IPeer
{....}
</code>
however when I try to call them from my client only the second executes...why???? the PeerClientObject works, but not the first one...do I need to have multiple channels?

my client app is doing this:

<code> RemotingConfiguration.Configure "PeerCLientForIndexServer.exe.config");

IndexServerApp.IndexServerObject indexServer = new IndexServerApp.IndexServerObject();

IndexServerApp.PeerClientObject peerClient = new IndexServerApp.PeerClientObject();
</code>


this is the config file for the server:
</code>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application name="IndexServer">
<service>
<wellknown mode="Singleton"type="IndexServerApp.IndexServerObject, IndexServerObject" objectUri="IndexServer" />
</service>
<channels>
<channel port="9000" ref="tcp">
<clientProviders>
<formatter ref="binary" />
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
<lifetime leaseTime="1M" renewOnCallTime="2M" />
</application>
</system.runtime.remoting>
</configuration>
</code>

and the client side:
<code>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.runtime.remoting>
<application name="PeerClientForIndexServer">
<channels>
<channel ref="tcp" port="0"/>
</channels>
<client>
<wellknown type="IndexServerApp.IndexServerObject, IndexServerObject" url="tcp://localhost:9000/IndexServer" />
</client>
</application>
<code></system.runtime.remoting>
</configuration></code>
</code>


_ra
GeneralRe: multiple interfaces Pin
S. Senthil Kumar3-Jun-05 21:11
S. Senthil Kumar3-Jun-05 21:11 
Generallisting components in inherited forms Pin
Jenesepas3-Jun-05 9:45
Jenesepas3-Jun-05 9:45 
GeneralRe: listing components in inherited forms Pin
Marc Clifton3-Jun-05 11:37
mvaMarc Clifton3-Jun-05 11:37 
GeneralRe: listing components in inherited forms Pin
Jenesepas3-Jun-05 12:01
Jenesepas3-Jun-05 12:01 
Generaldll Pin
ziczaczoom20043-Jun-05 9:35
ziczaczoom20043-Jun-05 9:35 
GeneralRe: dll Pin
MoustafaS3-Jun-05 9:56
MoustafaS3-Jun-05 9:56 
GeneralRe: dll Pin
ziczaczoom200410-Jun-05 12:53
ziczaczoom200410-Jun-05 12:53 
GeneralRe: dll Pin
ziczaczoom200413-Jun-05 8:01
ziczaczoom200413-Jun-05 8:01 
GeneralImplementing Custom IMembership Conditions Pin
Chad Stoker3-Jun-05 9:20
Chad Stoker3-Jun-05 9:20 
QuestionHow to check that the date is bolded or not? Pin
pakFari3-Jun-05 8:52
pakFari3-Jun-05 8:52 
AnswerRe: How to check that the date is bolded or not? Pin
Susan Hernandez3-Jun-05 13:48
Susan Hernandez3-Jun-05 13:48 
GeneralRe: How to check that the date is bolded or not? Pin
pakFari3-Jun-05 22:25
pakFari3-Jun-05 22:25 
GeneralRe: How to check that the date is bolded or not? Pin
Stefan Troschuetz3-Jun-05 23:03
Stefan Troschuetz3-Jun-05 23:03 
GeneralRe: How to check that the date is bolded or not? Pin
pakFari4-Jun-05 4:32
pakFari4-Jun-05 4:32 
GeneralRe: How to check that the date is bolded or not? Pin
Stefan Troschuetz5-Jun-05 11:03
Stefan Troschuetz5-Jun-05 11:03 
GeneralRe: How to check that the date is bolded or not? Pin
pakFari5-Jun-05 23:12
pakFari5-Jun-05 23:12 
Generalcombobox Pin
webhay3-Jun-05 7:38
webhay3-Jun-05 7:38 

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.