Click here to Skip to main content
15,886,873 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Question about Thread.Sleep() Pin
Tristan Rhodes10-May-07 6:25
Tristan Rhodes10-May-07 6:25 
QuestionHow do you halt a program while waiting for a KeyDown? Pin
vonLochow6-May-07 23:28
vonLochow6-May-07 23:28 
AnswerRe: How do you halt a program while waiting for a KeyDown? Pin
Arun.Immanuel7-May-07 1:30
Arun.Immanuel7-May-07 1:30 
QuestionWindows Workflow Rules question Pin
abc8766-May-07 21:21
abc8766-May-07 21:21 
Questionneed help with remoting incoming event handler Pin
neodeaths6-May-07 16:34
neodeaths6-May-07 16:34 
AnswerRe: need help with remoting incoming event handler Pin
Wilco07-May-07 4:32
Wilco07-May-07 4:32 
QuestionProblem With Custom PaperSize In .NET Pin
AmirAlilou4-May-07 21:56
AmirAlilou4-May-07 21:56 
Questionhow do i set the values for my class variable for remoting? Pin
neodeaths3-May-07 23:22
neodeaths3-May-07 23:22 
hi i am trying to do remoting so far i am able to connect but i cant seem to pass any data thru my code is as fellows:

i would too like to ask if my code is passing data from the sever to client or vise versa as i am a little confuse.

my server:
      // Create an instance of a channel<br />
            TcpChannel channel = new TcpChannel(8080);<br />
            ChannelServices.RegisterChannel(channel);<br />
<br />
            // Register as an available service with the name HelloWorld<br />
            RemotingConfiguration.RegisterWellKnownServiceType(<br />
                typeof(ClassLibrary1.Class1),<br />
                "HelloWorld",<br />
                WellKnownObjectMode.SingleCall);


my client:
TcpChannel chan = new TcpChannel();<br />
            ChannelServices.RegisterChannel(chan);<br />
<br />
            // Create an instance of the remote object<br />
            ClassLibrary1.Class1 obj = (ClassLibrary1.Class1)Activator.GetObject(<br />
                typeof(ClassLibrary1.Class1),<br />
                "tcp://172.17.168.51:8080/HelloWorld");<br />
            <br />
            try<br />
            {<br />
                if (obj.Equals(null))<br />
                {<br />
                    label1.Text = "not connected";<br />
                }<br />
                else<br />
                {<br />
                    label1.Text = "connected";<br />
                }<br />
            }<br />
            catch<br />
            {<br />
                label1.Text = "not connected";<br />
            }


my class:
public class Class1 : MarshalByRefObject<br />
    {<br />
<br />
        public Class1()<br />
        {<br />
             string abc;  <br />
        }<br />
<br />
<br />
<br />
        /// <summary><br />
        /// Return a hello message<br />
        /// </summary><br />
        /// <returns>Hello world message</returns><br />
        <br />
    }


as you can see my class contint a string abc i would like to ask how can i set it at my start and what code would i use to exttract it at the end side
QuestionCode convertor tool in Vb .net Pin
Balagurunathan S3-May-07 21:51
Balagurunathan S3-May-07 21:51 
AnswerRe: Code convertor tool in Vb .net Pin
Blumen3-May-07 23:02
Blumen3-May-07 23:02 
GeneralRe: Code convertor tool in Vb .net Pin
Balagurunathan S4-May-07 0:03
Balagurunathan S4-May-07 0:03 
GeneralRe: Code convertor tool in Vb .net Pin
Christian Graus6-May-07 17:58
protectorChristian Graus6-May-07 17:58 
AnswerRe: Code convertor tool in Vb .net Pin
Blumen7-May-07 5:48
Blumen7-May-07 5:48 
AnswerRe: Code convertor tool in Vb .net Pin
Dave Kreskowiak4-May-07 2:33
mveDave Kreskowiak4-May-07 2:33 
GeneralRe: Code convertor tool in Vb .net Pin
Blumen8-May-07 2:14
Blumen8-May-07 2:14 
GeneralRe: Code convertor tool in Vb .net Pin
Dave Kreskowiak8-May-07 3:46
mveDave Kreskowiak8-May-07 3:46 
AnswerRe: Code convertor tool in Vb .net Pin
Paul Conrad4-May-07 14:00
professionalPaul Conrad4-May-07 14:00 
GeneralRe: Code convertor tool in Vb .net Pin
irrdev6-May-07 22:33
irrdev6-May-07 22:33 
QuestionRASEnumEntries for VB.NET Pin
hellotkb3-May-07 17:45
hellotkb3-May-07 17:45 
AnswerRe: RASEnumEntries for VB.NET Pin
Dave Kreskowiak4-May-07 6:26
mveDave Kreskowiak4-May-07 6:26 
GeneralRe: RASEnumEntries for VB.NET Pin
hellotkb4-May-07 20:12
hellotkb4-May-07 20:12 
GeneralRe: RASEnumEntries for VB.NET Pin
Claudio Nicora29-Nov-09 22:15
Claudio Nicora29-Nov-09 22:15 
AnswerRe: RASEnumEntries for VB.NET Pin
JfCode10-Jan-12 4:44
JfCode10-Jan-12 4:44 
Questionremoting problem Pin
neodeaths3-May-07 16:50
neodeaths3-May-07 16:50 
AnswerRe: remoting problem Pin
Paul Conrad14-Jul-07 6:50
professionalPaul Conrad14-Jul-07 6:50 

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.