Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Drag and Drop the Button Control using WPF (C Sharp) Pin
Manas Bhardwaj1-Sep-08 5:01
professionalManas Bhardwaj1-Sep-08 5:01 
QuestionSerialization load/save getting a different HashCode.... Pin
Guilherme Morais1-Sep-08 3:26
Guilherme Morais1-Sep-08 3:26 
AnswerRe: Serialization load/save getting a different HashCode.... Pin
Natza Mitzi1-Sep-08 3:56
Natza Mitzi1-Sep-08 3:56 
GeneralRe: Serialization load/save getting a different HashCode.... Pin
leppie1-Sep-08 5:40
leppie1-Sep-08 5:40 
GeneralRe: Serialization load/save getting a different HashCode.... Pin
Natza Mitzi1-Sep-08 20:31
Natza Mitzi1-Sep-08 20:31 
AnswerRe: Serialization load/save getting a different HashCode.... Pin
Wendelius1-Sep-08 4:30
mentorWendelius1-Sep-08 4:30 
AnswerRe: Serialization load/save getting a different HashCode.... Pin
leppie1-Sep-08 5:39
leppie1-Sep-08 5:39 
QuestionPrint the information on a Windows Form Pin
Puneet Bhatnagar1-Sep-08 2:59
Puneet Bhatnagar1-Sep-08 2:59 
AnswerRe: Print the information on a Windows Form Pin
leppie1-Sep-08 3:04
leppie1-Sep-08 3:04 
JokeRe: Print the information on a Windows Form Pin
lisan_al_ghaib1-Sep-08 4:51
lisan_al_ghaib1-Sep-08 4:51 
AnswerRe: Print the information on a Windows Form Pin
C1AllenS1-Sep-08 3:06
C1AllenS1-Sep-08 3:06 
AnswerRe: Print the information on a Windows Form Pin
Paul Conrad1-Sep-08 12:48
professionalPaul Conrad1-Sep-08 12:48 
QuestionClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
steve_rm1-Sep-08 1:08
steve_rm1-Sep-08 1:08 
AnswerRe: ClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
Christian Casutt20-Oct-09 5:29
Christian Casutt20-Oct-09 5:29 
AnswerRe: ClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
MatthysDT22-Jul-10 2:38
MatthysDT22-Jul-10 2:38 
QuestionUsing System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 0:50
omegazafer1-Sep-08 0:50 
AnswerRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 2:09
leppie1-Sep-08 2:09 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 2:23
omegazafer1-Sep-08 2:23 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 3:02
leppie1-Sep-08 3:02 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 3:38
omegazafer1-Sep-08 3:38 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 5:42
leppie1-Sep-08 5:42 
AnswerRe: Using System32 Dll for sending keyboard keys? Pin
DaveyM691-Sep-08 7:35
professionalDaveyM691-Sep-08 7:35 
QuestionTcpClient for Windows Mobile 6 Pin
leslie wu1-Sep-08 0:15
leslie wu1-Sep-08 0:15 
Hello all experts,

I am currenting doing my final year project about Windows mobile devices. I have the following code:

if (((Button)sender).Text == "Start")
{
try
{

//---connect to the server---
client = new TcpClient();
client.Connect(server_IP, PORTNO);
data = new byte[client.ReceiveBufferSize];
//---send message---
SendMessage("Send");

//---begin reading data asynchronously from the server---
t = new System.Threading.Thread(ReceiveImageLoop);
t.Start();
MessageBox.Show("threat created");

}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
MessageBox.Show("error !");

}
}

If I compile this code using Windows XP SP2, it is working fine. However, as I paste the code onto WM6, I got the following error message :

"
A first chance exception of type 'System.IO.IOException' occurred in mscorlib.dll
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
"

I see that my windows mobile device could not initiate a TCP connection. Could anyone give me some hints ?

Wholeheartly thanks !
AnswerRe: TcpClient for Windows Mobile 6 Pin
leppie1-Sep-08 2:10
leppie1-Sep-08 2:10 
GeneralRe: TcpClient for Windows Mobile 6 Pin
leslie wu1-Sep-08 3:00
leslie wu1-Sep-08 3:00 

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.