Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Handling connection notification between a desktop machine and Windows CE based devices

, 14 Jan 2009
This article describes how to get notification when a Windows CE based device is connected or disconnected from a desktop machine.
GetNotificationOnConnect_src.zip
GetNotificationOnConnect
WindowsApplication1
bin
Release
WindowsApplication1.exe
WindowsApplication1.vshost.exe
GetNotificationOnConnect.vbproj.user
My Project
Application.myapp
Settings.settings
<?xml version="1.0"?>
<doc>
<assembly>
<name>
WindowsApplication1
</name>
</assembly>
<members>
<member name="M:WindowsApplication1.Form1.btnRegister_Click(System.Object,System.EventArgs)">
	<summary>
 This button click event is used to register the object of IDccManSink for getting the 
 notification of the Connection / Disconnection.
 </summary>
	<param name="sender">The object of the sender.</param>
	<param name="e">Event arguments</param>
</member><member name="M:WindowsApplication1.Form1.Deregister_Click(System.Object,System.EventArgs)">
	<summary>
 This button click event is used to unregister the object of IDccManSink so that no event 
 get fired on Connection / Disconnection
 </summary>
	<param name="sender">The object of the sender.</param>
	<param name="e">Event arguments</param>
</member><member name="M:WindowsApplication1.Form1.OnConnection">
	<summary>
 This method can be used to do some activities which is to be done on Connection.
 </summary>
	<remarks></remarks>
</member><member name="M:WindowsApplication1.Form1.OnDisConnection">
	<summary>
 This method can be used to do some activites which is to be done on disconnection.
 </summary>
	<remarks></remarks>
</member><member name="T:WindowsApplication1.ActiveHandler">
	<summary>
 This event handler is used to register the event on Connection.
 </summary>
</member><member name="T:WindowsApplication1.DisconnectHandler">
	<summary>
 This event handler is used to register the event on DisConnection.
 </summary>
</member><member name="T:WindowsApplication1.DccMan">
	<summary>
 This class is used to get the instance of IDccManSink. It is implemented by
 Connection Manager of ActiveSynk.
 </summary>
</member><member name="T:WindowsApplication1.IDccMan">
	<summary>
 This Interface is used to get all the methods available in the IDccMan. with the help of 
 this interface we can register / deregister the IDccManSink.
 </summary>
</member><member name="T:WindowsApplication1.IDccManSink">
	<summary>
 This Interface is used to get all the methods available in the IDccManSink.
 </summary>
</member><member name="T:WindowsApplication1.DccManSink">
	<summary>
 This class is used to define all the methods of IDccManSink. the methods of this class gets
 triggered on connection / disconnection.
 </summary>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Anil_gupta
Software Developer Microsoft India
India India
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 15 Jan 2009
Article Copyright 2006 by Anil_gupta
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid