Click here to Skip to main content
15,886,840 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regular Expressions Pin
PIEBALDconsult21-Mar-09 4:40
mvePIEBALDconsult21-Mar-09 4:40 
AnswerRe: Regular Expressions Pin
agent00zelda23-Mar-09 10:02
agent00zelda23-Mar-09 10:02 
Questionhelp me in this program Pin
Nettai20-Mar-09 22:48
Nettai20-Mar-09 22:48 
AnswerRe: help me in this program Pin
Xmen Real 20-Mar-09 23:02
professional Xmen Real 20-Mar-09 23:02 
AnswerRe: help me in this program Pin
Nettai20-Mar-09 23:40
Nettai20-Mar-09 23:40 
GeneralRe: help me in this program Pin
Xmen Real 21-Mar-09 1:30
professional Xmen Real 21-Mar-09 1:30 
AnswerRe: help me in this program Pin
dan!sh 21-Mar-09 1:21
professional dan!sh 21-Mar-09 1:21 
QuestionClient in C# Pin
mrithula820-Mar-09 21:38
mrithula820-Mar-09 21:38 
Hi,
I am using the following code to read the port number from xml file and send as a parameter to UdpClient.It works well. p1.xml file is stored in C:\projects\ports\10000...Simliarly i have stored p2.xml file in C:\projects\ports\10001 folder.p2.xml contains the port number 10001.

When the client clicks the C:\projects\ports\10000 path the exe in this path opens and communicates with the client by accepting the port 10000 from p1.xml.I am done with this step.

Suppose if the client clicks C:\projects\ports\10001 the exe opens .But now it should now accept the port as 10001 from p2.xml and do the communication with the client.Likewise for other ports also.

Please give me your ideas.
XmlTextReader xt = new XmlTextReader("p1.xml");
                int p1=0;
                while (xt.Read())
                {
                    switch (xt.NodeType)
                    {
                        case XmlNodeType.Text:

                            String rv = xt.Value;
                            p1 = Convert.ToInt32(rv);
                            break;
                    }
                }

                listBox6.Items.Add("Connecting....");
                UdpClient client = new UdpClient("127.0.0.1",p1);

AnswerRe: Client in C# Pin
mrithula823-Mar-09 20:50
mrithula823-Mar-09 20:50 
QuestionRemote Desktop Monitoring Pin
sanju_thomas20-Mar-09 20:32
sanju_thomas20-Mar-09 20:32 
AnswerRe: Remote Desktop Monitoring Pin
Xmen Real 20-Mar-09 22:56
professional Xmen Real 20-Mar-09 22:56 
QuestionC#.windows application Problem Pin
varun.g20-Mar-09 20:22
varun.g20-Mar-09 20:22 
AnswerRe: C#.windows application Problem [modified] Pin
dan!sh 20-Mar-09 22:27
professional dan!sh 20-Mar-09 22:27 
GeneralRe: C#.windows application Problem Pin
Xmen Real 20-Mar-09 23:08
professional Xmen Real 20-Mar-09 23:08 
GeneralRe: C#.windows application Problem Pin
dan!sh 21-Mar-09 1:07
professional dan!sh 21-Mar-09 1:07 
AnswerRe: C#.windows application Problem Pin
varun.g21-Mar-09 0:27
varun.g21-Mar-09 0:27 
QuestionIdle processing Pin
saksp20-Mar-09 20:10
saksp20-Mar-09 20:10 
AnswerRe: Idle processing Pin
12Code20-Mar-09 20:30
12Code20-Mar-09 20:30 
AnswerRe: Idle processing Pin
Dominik Reichl21-Mar-09 1:40
Dominik Reichl21-Mar-09 1:40 
QuestionMedia Player Pin
Jahmelon20-Mar-09 19:44
Jahmelon20-Mar-09 19:44 
AnswerRe: Media Player Pin
N a v a n e e t h20-Mar-09 19:57
N a v a n e e t h20-Mar-09 19:57 
GeneralRe: Media Player Pin
Jahmelon20-Mar-09 20:06
Jahmelon20-Mar-09 20:06 
AnswerRe: Media Player Pin
varun.g20-Mar-09 20:21
varun.g20-Mar-09 20:21 
Questionstore excel in sql data base Pin
Mangesh Tomar20-Mar-09 19:29
Mangesh Tomar20-Mar-09 19:29 
AnswerRe: store excel in sql data base Pin
N a v a n e e t h20-Mar-09 19:35
N a v a n e e t h20-Mar-09 19:35 

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.