Click here to Skip to main content
15,891,136 members
Home / Discussions / Mobile
   

Mobile

 
QuestionHow to make a floating window Pin
Qilinzhi14-Apr-08 22:27
Qilinzhi14-Apr-08 22:27 
GeneralNetworkstream receiving same data twice [modified] Pin
evdsande14-Apr-08 10:29
evdsande14-Apr-08 10:29 
AnswerRe: Networkstream receiving same data twice Pin
Arjun Marwaha24-Apr-08 2:29
Arjun Marwaha24-Apr-08 2:29 
QuestionHow to catch usb event Pin
haolan13-Apr-08 22:04
haolan13-Apr-08 22:04 
AnswerRe: How to catch usb event Pin
Ravenet16-Apr-08 16:01
Ravenet16-Apr-08 16:01 
GeneralRe: How to catch usb event Pin
haolan21-Apr-08 1:31
haolan21-Apr-08 1:31 
GeneralRe: How to catch usb event Pin
Ravenet21-Apr-08 2:03
Ravenet21-Apr-08 2:03 
GeneralRe: How to catch usb event Pin
haolan21-Apr-08 2:11
haolan21-Apr-08 2:11 
I found this:

http://msdn2.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemstate.activesyncstatus.aspx[^]

With this I have written the following code:
void activeSyncState_Changed(object sender, ChangeEventArgs args)
{
ActiveSyncStatus status = (ActiveSyncStatus)args.NewValue;

try
{
if (status == ActiveSyncStatus.Synchronizing)
{
MessageBox.Show("Hello world!");
}
}
catch (Exception ex)
{
// Handle Exception
}
}

SystemState activeSyncState = new SystemState(SystemProperty.ActiveSyncStatus);
activeSyncState.Changed += new ChangeEventHandler(activeSyncState_Changed);


But when I plug in my cable nothing happens. But I guess I dont use the right api, because I need to fire my event when a connection is established and not when activesync is synchronizing. Is there any way to do that?
GeneralRe: How to catch usb event Pin
Ravenet21-Apr-08 2:16
Ravenet21-Apr-08 2:16 
QuestionHow can I monitoring dial and how to Disconnect for POCKET PC Pin
smsm365011-Apr-08 3:36
smsm365011-Apr-08 3:36 
QuestionHow to launch pword.exe in .NET 2005 'Smart Device project' Pin
tony_Udz11-Apr-08 0:14
tony_Udz11-Apr-08 0:14 
GeneralRe: How to launch pword.exe in .NET 2005 'Smart Device project' Pin
Arjun Marwaha15-Apr-08 21:32
Arjun Marwaha15-Apr-08 21:32 
QuestionHow to Program with Wireless Sensors Pin
csnovice9-Apr-08 18:40
csnovice9-Apr-08 18:40 
QuestionIs my C.F. 2.0 crazy?.....Or not? Pin
Hurricane30009-Apr-08 10:47
Hurricane30009-Apr-08 10:47 
AnswerRe: Is my C.F. 2.0 crazy?.....Or not? Pin
Mitch F.9-Apr-08 19:35
Mitch F.9-Apr-08 19:35 
GeneralRe: Is my C.F. 2.0 crazy?.....Or not? [modified] Pin
Hurricane300010-Apr-08 3:56
Hurricane300010-Apr-08 3:56 
GeneralRe:Resolved! [modified] Pin
Hurricane300010-Apr-08 6:34
Hurricane300010-Apr-08 6:34 
Questionhow can i get x,y from GPS using PPC in C# code ? Pin
E_Gold9-Apr-08 9:29
E_Gold9-Apr-08 9:29 
AnswerRe: how can i get x,y from GPS using PPC in C# code ? Pin
Ed.Poore12-Apr-08 12:26
Ed.Poore12-Apr-08 12:26 
Generalupload picture Pin
nannie0018-Apr-08 22:11
nannie0018-Apr-08 22:11 
GeneralRe: upload picture Pin
AlexeiXX312-Apr-08 11:47
AlexeiXX312-Apr-08 11:47 
QuestionHow to Distribute CF2 SP2? Pin
ackabacka8-Apr-08 3:22
ackabacka8-Apr-08 3:22 
QuestionMicrosoft Device Emulator StandAlone [modified] Pin
Pryzrak7-Apr-08 22:31
Pryzrak7-Apr-08 22:31 
GeneralRe: Microsoft Device Emulator StandAlone Pin
R. Giskard Reventlov7-Apr-08 22:36
R. Giskard Reventlov7-Apr-08 22:36 
GeneralRe: Microsoft Device Emulator StandAlone Pin
leppie7-Apr-08 22:49
leppie7-Apr-08 22:49 

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.