Click here to Skip to main content
15,922,015 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: mobile application Pin
Anoop_Ravindran10-Oct-07 0:28
Anoop_Ravindran10-Oct-07 0:28 
GeneralRe: mobile application Pin
Ahamed Azeem10-Oct-07 0:31
Ahamed Azeem10-Oct-07 0:31 
Questioncan you help me plz.. Pin
Anoop_Ravindran10-Oct-07 3:59
Anoop_Ravindran10-Oct-07 3:59 
QuestionSend message to PPC from PC using sockets (Error 10060) [modified] Pin
AlexeiXX34-Oct-07 9:04
AlexeiXX34-Oct-07 9:04 
GeneralRe: Send message to PPC from PC using sockets (Error 10060) Pin
imranatif4-Oct-07 21:42
imranatif4-Oct-07 21:42 
QuestionHow to hide a file in a PPC Pin
Erisa85d4-Oct-07 5:28
Erisa85d4-Oct-07 5:28 
AnswerRe: How to hide a file in a PPC Pin
João Paulo Figueira6-Oct-07 6:22
professionalJoão Paulo Figueira6-Oct-07 6:22 
QuestionMy PPC application gets frozen after receiving data by socket Pin
Erisa85d4-Oct-07 5:03
Erisa85d4-Oct-07 5:03 
Hi everyone,
Hopefully anyone will take the trouble to give me an idea, i'm posting the problem i've been working around these two days.
I'm deploing a pocket pc application, using C# .NET Visual Stdudio 2003.
I send the data I want print to server using socket communicaton. After the data are printed i receive a message from the server by means of socket programming.
This is the method that catches the message from the server

public void OnDataReceived(IAsyncResult asyn)
{
//end receive...
string mesazhi = "";
int iRx = 0 ;
try
{
if(asyn != null)
iRx =s.EndReceive(asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(m_DataBuffer, 0, iRx, chars, 0);
if(charLen != 0)
{
System.String szData = new System.String(chars);
if (szData == "Printed")
{ this.dataGrid.DataSource = this.dataTable;
this.dataGrid.TableStyles[0].MappingName= this.dataTable.TableName;
this.AddGridColumnStyles(false,"EMERTIMI","SASIA");
}
}


As you can see in the method, after i receive the message from the server i want to display some data in a datagrid, so i give to it a datatable as a datasource. At this point my application doesn't respond and i have to restart my pocket pc.If I do not use the datagrid anything goes fine.
Please, someone help me!
AnswerRe: My PPC application gets frozen after receiving data by socket Pin
AlexeiXX315-Oct-07 10:48
AlexeiXX315-Oct-07 10:48 
Questionmobile socket application Pin
vimal_q3-Oct-07 19:00
vimal_q3-Oct-07 19:00 
GeneralRe: mobile socket application Pin
imranatif4-Oct-07 21:36
imranatif4-Oct-07 21:36 
QuestionPostMessage() function [modified] Pin
nemarc3-Oct-07 0:29
professionalnemarc3-Oct-07 0:29 
QuestionApp crashes when Pocket PC device wakes Pin
Payrok2-Oct-07 4:26
Payrok2-Oct-07 4:26 
AnswerRe: App crashes when Pocket PC device wakes Pin
Payrok9-Oct-07 11:33
Payrok9-Oct-07 11:33 
AnswerRe: End/Power button in Smartphone application Pin
Alain Rist1-Oct-07 5:29
Alain Rist1-Oct-07 5:29 
GeneralRe: End/Power button in Smartphone application [modified] Pin
Alain Rist1-Oct-07 9:40
Alain Rist1-Oct-07 9:40 
GeneralRe: End/Power button in Smartphone application Pin
MuthiahR4-Oct-07 5:23
MuthiahR4-Oct-07 5:23 
QuestionInstalling CAB Files and CF 2.0 on PDA Pin
steve_rm28-Sep-07 7:19
steve_rm28-Sep-07 7:19 
AnswerRe: Installing CAB Files and CF 2.0 on PDA Pin
PavanPareta30-Sep-07 19:11
PavanPareta30-Sep-07 19:11 
AnswerRe: Installing CAB Files and CF 2.0 on PDA Pin
DigiOz Multimedia16-Oct-07 16:06
DigiOz Multimedia16-Oct-07 16:06 
QuestionProgress bar to monitor progress Pin
steve_rm26-Sep-07 7:01
steve_rm26-Sep-07 7:01 
QuestionSwitching between custom and default windows shells, in WinXPe [modified] Pin
All_names_taken26-Sep-07 1:08
All_names_taken26-Sep-07 1:08 
Questionhow do I get 16-bit colors from EVC++? Pin
mercenary0125-Sep-07 16:08
mercenary0125-Sep-07 16:08 
Questionhow to use timer .start & stop Pin
ram krishna pattnayak25-Sep-07 3:27
ram krishna pattnayak25-Sep-07 3:27 
QuestionTransfer data faster Pin
dandi1824-Sep-07 3:31
dandi1824-Sep-07 3:31 

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.