Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 978545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:04:27+00:00 2026-05-16T04:04:27+00:00

Is is possible to detect when a Pocket Pc device is docked in it’s

  • 0

Is is possible to detect when a Pocket Pc device is docked in it’s cradle in Windows Mobile 2003 using C#.

I want it to call a web-service when the device is put back on charge.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:04:28+00:00Added an answer on May 16, 2026 at 4:04 am

    What about this guys answer.

    http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/d7e6d896-ff0b-4bb8-969d-3ff516db6782

    OpennetCF provide a way to monitor activesync connection status. Like the code below:

    private void connectAsync_Click(object sender, System.EventArgs e)
                    {
                            m_rapi.RAPIConnected += new RAPIConnectedHandler(m_rapi_RAPIConnected);
                            m_rapi.RAPIDisconnected += new RAPIConnectedHandler(m_rapi_RAPIDisconnected);
                            m_rapi.Connect(false, -1);
                    }
    
                    private void m_rapi_RAPIConnected()
                    {
                this.Invoke(textUpdate, new object[] { this, new TextArgs(connectStatus, "Connected") });
                this.Invoke(enableUpdate, new object[] { this, new EnableArgs(connectAsync, false) });
                this.Invoke(enableUpdate, new object[] { this, new EnableArgs(connectSync, false) });
                    }
    
                    private void m_rapi_RAPIDisconnected()
                    {
                this.Invoke(textUpdate, new object[] { this, new TextArgs(connectStatus, "Not Connected") });
                this.Invoke(enableUpdate, new object[] { this, new EnableArgs(connectAsync, false) });
                this.Invoke(enableUpdate, new object[] { this, new EnableArgs(connectAsync, false) });
                    }
    
    
    
                     private void copyFrom_Click(object sender, System.EventArgs e)
    
                    {
                            if(! m_rapi.Connected)
                            {
                                    MessageBox.Show("Not connected!");
                                    return;
                            }
    
                            m_rapi.CopyFileFromDevice("f:\\1.jpg", "\\My Documents\\1.jpg", true);
    
                    }
    

    While detecting it is connection, it
    will change the status as “connected”.

    For more information:
    http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesvbcs/thread/44e50105-a0ec-4906-86f8-42c8215b6993/

    Best regards, Guang-Ming Bian – MSFT

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to detect if the mobile device supports J2ME WMA?
Possible Duplicate: Detect Antivirus on Windows using C# In .net I would like to
Possible Duplicates: Detect Antivirus on Windows using C# How to detect if a virusscanner
Possible Duplicate: Detect if device is iOS Here is what I want to do:
Is it possible to detect the specific webcam hardware that a person is using
is it possible to detect if flash is installed using PHP. My aim is,
Possible Duplicate: Detect if a method was overridden using Reflection (C#) Is there a
Possible Duplicate: Detect if an outgoing call has been answered How can I know
Is it possible to detect when the user unfocuses an input box using jquery?
Is it possible to detect if a H.323 connection (phone call) is up by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.