PC Review


Reply
Thread Tools Rate Thread

Access ActiveSync functionality in VB.NET or C#

 
 
John Lee
Guest
Posts: n/a
 
      9th Sep 2003
Hi,

I want to develop a solution like this:

data flow:
PPC app <---> ActiveSync <---> Desktop app <---> Database

Usage:
PPC will update data offline and want to sync back to DB when connected

Upon Sync:
1. PPC will move a xml file (DataSet Diffgrams) to desktop computer
2. ActiveSync will CALL(?) Desktop app to process the xml file (if any
change, apply it then get new dataset from DB and send back to PPC

I will use VS.NET 2003 SmartDeviceApp template with .NET Compact framework,
I am new with PPC development and esp. need help on HOW TO write app and
REGISTER it with ActiveSync and my Desktop app will be launched upon Sync
time. Can anyone point me a sample that use VB.NET or C#? Is it possible to
do this without using C++?

Thanks very much!

John


 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      9th Sep 2003
You cannot create a full-blown ActiveSync provider with manager code,
however I don't think you need one for these requirements. Simply create a
desktop app that run when ActiveSync makes a connection (simple registry key
registration). That app can use RAPI to copy the XML files from the
connected device to the PC and to send data back to the PPC.

Check out www.opennetcf.org/communication.asp

--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

"John Lee" <john-(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
>
> I want to develop a solution like this:
>
> data flow:
> PPC app <---> ActiveSync <---> Desktop app <---> Database
>
> Usage:
> PPC will update data offline and want to sync back to DB when

connected
>
> Upon Sync:
> 1. PPC will move a xml file (DataSet Diffgrams) to desktop computer
> 2. ActiveSync will CALL(?) Desktop app to process the xml file (if any
> change, apply it then get new dataset from DB and send back to PPC
>
> I will use VS.NET 2003 SmartDeviceApp template with .NET Compact

framework,
> I am new with PPC development and esp. need help on HOW TO write app and
> REGISTER it with ActiveSync and my Desktop app will be launched upon Sync
> time. Can anyone point me a sample that use VB.NET or C#? Is it possible

to
> do this without using C++?
>
> Thanks very much!
>
> John
>
>



 
Reply With Quote
 
John Lee
Guest
Posts: n/a
 
      10th Sep 2003
Thanks a lot, Chris!!!

Sounds great solution - Could you please tell me which registry key needed
to be set so when ActiveSync makes a connection my Desktop app will be
called?

Again, thanks a lot - you are my life saver!

John

"Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You cannot create a full-blown ActiveSync provider with manager code,
> however I don't think you need one for these requirements. Simply create

a
> desktop app that run when ActiveSync makes a connection (simple registry

key
> registration). That app can use RAPI to copy the XML files from the
> connected device to the PC and to send data back to the PPC.
>
> Check out www.opennetcf.org/communication.asp
>
> --
> Chris Tacke, eMVP
> Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
> "John Lee" <john-(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hi,
> >
> > I want to develop a solution like this:
> >
> > data flow:
> > PPC app <---> ActiveSync <---> Desktop app <---> Database
> >
> > Usage:
> > PPC will update data offline and want to sync back to DB when

> connected
> >
> > Upon Sync:
> > 1. PPC will move a xml file (DataSet Diffgrams) to desktop computer
> > 2. ActiveSync will CALL(?) Desktop app to process the xml file (if

any
> > change, apply it then get new dataset from DB and send back to PPC
> >
> > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact

> framework,
> > I am new with PPC development and esp. need help on HOW TO write app and
> > REGISTER it with ActiveSync and my Desktop app will be launched upon

Sync
> > time. Can anyone point me a sample that use VB.NET or C#? Is it possible

> to
> > do this without using C++?
> >
> > Thanks very much!
> >
> > John
> >
> >

>
>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      10th Sep 2003
You'll find the keys described in this article on "Registry Based
Notification":-
http://msdn.microsoft.com/library/de...tification.asp

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com

"John Lee" <john-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks a lot, Chris!!!
>
> Sounds great solution - Could you please tell me which registry key needed
> to be set so when ActiveSync makes a connection my Desktop app will be
> called?
>
> Again, thanks a lot - you are my life saver!
>
> John
>
> "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > You cannot create a full-blown ActiveSync provider with manager code,
> > however I don't think you need one for these requirements. Simply

create
> a
> > desktop app that run when ActiveSync makes a connection (simple registry

> key
> > registration). That app can use RAPI to copy the XML files from the
> > connected device to the PC and to send data back to the PPC.
> >
> > Check out www.opennetcf.org/communication.asp
> >
> > --
> > Chris Tacke, eMVP
> > Advisory Board Member
> > www.OpenNETCF.org
> > ---
> > Windows CE Product Manager
> > Applied Data Systems
> > www.applieddata.net
> >
> > "John Lee" <john-(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > Hi,
> > >
> > > I want to develop a solution like this:
> > >
> > > data flow:
> > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > >
> > > Usage:
> > > PPC will update data offline and want to sync back to DB when

> > connected
> > >
> > > Upon Sync:
> > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop

computer
> > > 2. ActiveSync will CALL(?) Desktop app to process the xml file (if

> any
> > > change, apply it then get new dataset from DB and send back to PPC
> > >
> > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact

> > framework,
> > > I am new with PPC development and esp. need help on HOW TO write app

and
> > > REGISTER it with ActiveSync and my Desktop app will be launched upon

> Sync
> > > time. Can anyone point me a sample that use VB.NET or C#? Is it

possible
> > to
> > > do this without using C++?
> > >
> > > Thanks very much!
> > >
> > > John
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Mark Reddick
Guest
Posts: n/a
 
      10th Sep 2003
That article indiates it is for CE .NET 4.2. That's the version that PPC
2003 usees, right? Will the same registry keys work with PPC 2002?

- Mark

"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'll find the keys described in this article on "Registry Based
> Notification":-
>

http://msdn.microsoft.com/library/de...tification.asp
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
>
> In The Hand
> http://www.inthehand.com
>
> "John Lee" <john-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thanks a lot, Chris!!!
> >
> > Sounds great solution - Could you please tell me which registry key

needed
> > to be set so when ActiveSync makes a connection my Desktop app will be
> > called?
> >
> > Again, thanks a lot - you are my life saver!
> >
> > John
> >
> > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > You cannot create a full-blown ActiveSync provider with manager code,
> > > however I don't think you need one for these requirements. Simply

> create
> > a
> > > desktop app that run when ActiveSync makes a connection (simple

registry
> > key
> > > registration). That app can use RAPI to copy the XML files from the
> > > connected device to the PC and to send data back to the PPC.
> > >
> > > Check out www.opennetcf.org/communication.asp
> > >
> > > --
> > > Chris Tacke, eMVP
> > > Advisory Board Member
> > > www.OpenNETCF.org
> > > ---
> > > Windows CE Product Manager
> > > Applied Data Systems
> > > www.applieddata.net
> > >
> > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > Hi,
> > > >
> > > > I want to develop a solution like this:
> > > >
> > > > data flow:
> > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > >
> > > > Usage:
> > > > PPC will update data offline and want to sync back to DB when
> > > connected
> > > >
> > > > Upon Sync:
> > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop

> computer
> > > > 2. ActiveSync will CALL(?) Desktop app to process the xml file

(if
> > any
> > > > change, apply it then get new dataset from DB and send back to PPC
> > > >
> > > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact
> > > framework,
> > > > I am new with PPC development and esp. need help on HOW TO write app

> and
> > > > REGISTER it with ActiveSync and my Desktop app will be launched upon

> > Sync
> > > > time. Can anyone point me a sample that use VB.NET or C#? Is it

> possible
> > > to
> > > > do this without using C++?
> > > >
> > > > Thanks very much!
> > > >
> > > > John
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      10th Sep 2003
The registry keys (these are desktop registry keys) are specific to
ActiveSync rather than a particular version of attached device. They should
work with all versions of ActiveSync from at least 3.0 onwards (possibly
earlier versions too).

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com

"Mark Reddick" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> That article indiates it is for CE .NET 4.2. That's the version that PPC
> 2003 usees, right? Will the same registry keys work with PPC 2002?
>
> - Mark
>
> "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > You'll find the keys described in this article on "Registry Based
> > Notification":-
> >

>

http://msdn.microsoft.com/library/de...tification.asp
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> >
> > In The Hand
> > http://www.inthehand.com
> >
> > "John Lee" <john-(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Thanks a lot, Chris!!!
> > >
> > > Sounds great solution - Could you please tell me which registry key

> needed
> > > to be set so when ActiveSync makes a connection my Desktop app will be
> > > called?
> > >
> > > Again, thanks a lot - you are my life saver!
> > >
> > > John
> > >
> > > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > You cannot create a full-blown ActiveSync provider with manager

code,
> > > > however I don't think you need one for these requirements. Simply

> > create
> > > a
> > > > desktop app that run when ActiveSync makes a connection (simple

> registry
> > > key
> > > > registration). That app can use RAPI to copy the XML files from the
> > > > connected device to the PC and to send data back to the PPC.
> > > >
> > > > Check out www.opennetcf.org/communication.asp
> > > >
> > > > --
> > > > Chris Tacke, eMVP
> > > > Advisory Board Member
> > > > www.OpenNETCF.org
> > > > ---
> > > > Windows CE Product Manager
> > > > Applied Data Systems
> > > > www.applieddata.net
> > > >
> > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > news:%(E-Mail Removed)...
> > > > > Hi,
> > > > >
> > > > > I want to develop a solution like this:
> > > > >
> > > > > data flow:
> > > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > > >
> > > > > Usage:
> > > > > PPC will update data offline and want to sync back to DB when
> > > > connected
> > > > >
> > > > > Upon Sync:
> > > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop

> > computer
> > > > > 2. ActiveSync will CALL(?) Desktop app to process the xml file

> (if
> > > any
> > > > > change, apply it then get new dataset from DB and send back to PPC
> > > > >
> > > > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact
> > > > framework,
> > > > > I am new with PPC development and esp. need help on HOW TO write

app
> > and
> > > > > REGISTER it with ActiveSync and my Desktop app will be launched

upon
> > > Sync
> > > > > time. Can anyone point me a sample that use VB.NET or C#? Is it

> > possible
> > > > to
> > > > > do this without using C++?
> > > > >
> > > > > Thanks very much!
> > > > >
> > > > > John
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      10th Sep 2003
Yes, it's important to note these are DESKTOP registry keys, not device
keys. The version of CE is irrelevant (I used it with CE 2.0 devices using
ActiveSync 3.1)

--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The registry keys (these are desktop registry keys) are specific to
> ActiveSync rather than a particular version of attached device. They

should
> work with all versions of ActiveSync from at least 3.0 onwards (possibly
> earlier versions too).
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
>
> In The Hand
> http://www.inthehand.com
>
> "Mark Reddick" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > That article indiates it is for CE .NET 4.2. That's the version that PPC
> > 2003 usees, right? Will the same registry keys work with PPC 2002?
> >
> > - Mark
> >
> > "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > You'll find the keys described in this article on "Registry Based
> > > Notification":-
> > >

> >

>

http://msdn.microsoft.com/library/de...tification.asp
> > >
> > > Peter
> > >
> > > --
> > > Peter Foot
> > > Windows Embedded MVP
> > >
> > > In The Hand
> > > http://www.inthehand.com
> > >
> > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > Thanks a lot, Chris!!!
> > > >
> > > > Sounds great solution - Could you please tell me which registry key

> > needed
> > > > to be set so when ActiveSync makes a connection my Desktop app will

be
> > > > called?
> > > >
> > > > Again, thanks a lot - you are my life saver!
> > > >
> > > > John
> > > >
> > > > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > You cannot create a full-blown ActiveSync provider with manager

> code,
> > > > > however I don't think you need one for these requirements. Simply
> > > create
> > > > a
> > > > > desktop app that run when ActiveSync makes a connection (simple

> > registry
> > > > key
> > > > > registration). That app can use RAPI to copy the XML files from

the
> > > > > connected device to the PC and to send data back to the PPC.
> > > > >
> > > > > Check out www.opennetcf.org/communication.asp
> > > > >
> > > > > --
> > > > > Chris Tacke, eMVP
> > > > > Advisory Board Member
> > > > > www.OpenNETCF.org
> > > > > ---
> > > > > Windows CE Product Manager
> > > > > Applied Data Systems
> > > > > www.applieddata.net
> > > > >
> > > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > > news:%(E-Mail Removed)...
> > > > > > Hi,
> > > > > >
> > > > > > I want to develop a solution like this:
> > > > > >
> > > > > > data flow:
> > > > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > > > >
> > > > > > Usage:
> > > > > > PPC will update data offline and want to sync back to DB

when
> > > > > connected
> > > > > >
> > > > > > Upon Sync:
> > > > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop
> > > computer
> > > > > > 2. ActiveSync will CALL(?) Desktop app to process the xml

file
> > (if
> > > > any
> > > > > > change, apply it then get new dataset from DB and send back to

PPC
> > > > > >
> > > > > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact
> > > > > framework,
> > > > > > I am new with PPC development and esp. need help on HOW TO write

> app
> > > and
> > > > > > REGISTER it with ActiveSync and my Desktop app will be launched

> upon
> > > > Sync
> > > > > > time. Can anyone point me a sample that use VB.NET or C#? Is it
> > > possible
> > > > > to
> > > > > > do this without using C++?
> > > > > >
> > > > > > Thanks very much!
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Mark Reddick
Guest
Posts: n/a
 
      10th Sep 2003
Is there a similar way to do this on the device side? I'm currently using
RDA to sync from SQLCE to desktop SQL and it'd be great if I could
automatically start this process when they sync. Hmm...can I do RDA from a
desktop app to the PPC?

- Mark

"Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yes, it's important to note these are DESKTOP registry keys, not device
> keys. The version of CE is irrelevant (I used it with CE 2.0 devices

using
> ActiveSync 3.1)
>
> --
> Chris Tacke, eMVP
> Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
> "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > The registry keys (these are desktop registry keys) are specific to
> > ActiveSync rather than a particular version of attached device. They

> should
> > work with all versions of ActiveSync from at least 3.0 onwards (possibly
> > earlier versions too).
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> >
> > In The Hand
> > http://www.inthehand.com
> >
> > "Mark Reddick" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > That article indiates it is for CE .NET 4.2. That's the version that

PPC
> > > 2003 usees, right? Will the same registry keys work with PPC 2002?
> > >
> > > - Mark
> > >
> > > "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > You'll find the keys described in this article on "Registry Based
> > > > Notification":-
> > > >
> > >

> >

>

http://msdn.microsoft.com/library/de...tification.asp
> > > >
> > > > Peter
> > > >
> > > > --
> > > > Peter Foot
> > > > Windows Embedded MVP
> > > >
> > > > In The Hand
> > > > http://www.inthehand.com
> > > >
> > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > Thanks a lot, Chris!!!
> > > > >
> > > > > Sounds great solution - Could you please tell me which registry

key
> > > needed
> > > > > to be set so when ActiveSync makes a connection my Desktop app

will
> be
> > > > > called?
> > > > >
> > > > > Again, thanks a lot - you are my life saver!
> > > > >
> > > > > John
> > > > >
> > > > > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in

message
> > > > > news:(E-Mail Removed)...
> > > > > > You cannot create a full-blown ActiveSync provider with manager

> > code,
> > > > > > however I don't think you need one for these requirements.

Simply
> > > > create
> > > > > a
> > > > > > desktop app that run when ActiveSync makes a connection (simple
> > > registry
> > > > > key
> > > > > > registration). That app can use RAPI to copy the XML files from

> the
> > > > > > connected device to the PC and to send data back to the PPC.
> > > > > >
> > > > > > Check out www.opennetcf.org/communication.asp
> > > > > >
> > > > > > --
> > > > > > Chris Tacke, eMVP
> > > > > > Advisory Board Member
> > > > > > www.OpenNETCF.org
> > > > > > ---
> > > > > > Windows CE Product Manager
> > > > > > Applied Data Systems
> > > > > > www.applieddata.net
> > > > > >
> > > > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > > > news:%(E-Mail Removed)...
> > > > > > > Hi,
> > > > > > >
> > > > > > > I want to develop a solution like this:
> > > > > > >
> > > > > > > data flow:
> > > > > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > > > > >
> > > > > > > Usage:
> > > > > > > PPC will update data offline and want to sync back to DB

> when
> > > > > > connected
> > > > > > >
> > > > > > > Upon Sync:
> > > > > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop
> > > > computer
> > > > > > > 2. ActiveSync will CALL(?) Desktop app to process the xml

> file
> > > (if
> > > > > any
> > > > > > > change, apply it then get new dataset from DB and send back to

> PPC
> > > > > > >
> > > > > > > I will use VS.NET 2003 SmartDeviceApp template with .NET

Compact
> > > > > > framework,
> > > > > > > I am new with PPC development and esp. need help on HOW TO

write
> > app
> > > > and
> > > > > > > REGISTER it with ActiveSync and my Desktop app will be

launched
> > upon
> > > > > Sync
> > > > > > > time. Can anyone point me a sample that use VB.NET or C#? Is

it
> > > > possible
> > > > > > to
> > > > > > > do this without using C++?
> > > > > > >
> > > > > > > Thanks very much!
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      10th Sep 2003
Look at the CeRunAppAtEvent API.

--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

"Mark Reddick" <(E-Mail Removed)> wrote in message
news:eKeq$(E-Mail Removed)...
> Is there a similar way to do this on the device side? I'm currently using
> RDA to sync from SQLCE to desktop SQL and it'd be great if I could
> automatically start this process when they sync. Hmm...can I do RDA from a
> desktop app to the PPC?
>
> - Mark
>
> "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Yes, it's important to note these are DESKTOP registry keys, not device
> > keys. The version of CE is irrelevant (I used it with CE 2.0 devices

> using
> > ActiveSync 3.1)
> >
> > --
> > Chris Tacke, eMVP
> > Advisory Board Member
> > www.OpenNETCF.org
> > ---
> > Windows CE Product Manager
> > Applied Data Systems
> > www.applieddata.net
> >
> > "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > The registry keys (these are desktop registry keys) are specific to
> > > ActiveSync rather than a particular version of attached device. They

> > should
> > > work with all versions of ActiveSync from at least 3.0 onwards

(possibly
> > > earlier versions too).
> > >
> > > Peter
> > >
> > > --
> > > Peter Foot
> > > Windows Embedded MVP
> > >
> > > In The Hand
> > > http://www.inthehand.com
> > >
> > > "Mark Reddick" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > That article indiates it is for CE .NET 4.2. That's the version that

> PPC
> > > > 2003 usees, right? Will the same registry keys work with PPC 2002?
> > > >
> > > > - Mark
> > > >
> > > > "Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > > You'll find the keys described in this article on "Registry Based
> > > > > Notification":-
> > > > >
> > > >
> > >

> >

>

http://msdn.microsoft.com/library/de...tification.asp
> > > > >
> > > > > Peter
> > > > >
> > > > > --
> > > > > Peter Foot
> > > > > Windows Embedded MVP
> > > > >
> > > > > In The Hand
> > > > > http://www.inthehand.com
> > > > >
> > > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > > Thanks a lot, Chris!!!
> > > > > >
> > > > > > Sounds great solution - Could you please tell me which registry

> key
> > > > needed
> > > > > > to be set so when ActiveSync makes a connection my Desktop app

> will
> > be
> > > > > > called?
> > > > > >
> > > > > > Again, thanks a lot - you are my life saver!
> > > > > >
> > > > > > John
> > > > > >
> > > > > > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in

> message
> > > > > > news:(E-Mail Removed)...
> > > > > > > You cannot create a full-blown ActiveSync provider with

manager
> > > code,
> > > > > > > however I don't think you need one for these requirements.

> Simply
> > > > > create
> > > > > > a
> > > > > > > desktop app that run when ActiveSync makes a connection

(simple
> > > > registry
> > > > > > key
> > > > > > > registration). That app can use RAPI to copy the XML files

from
> > the
> > > > > > > connected device to the PC and to send data back to the PPC.
> > > > > > >
> > > > > > > Check out www.opennetcf.org/communication.asp
> > > > > > >
> > > > > > > --
> > > > > > > Chris Tacke, eMVP
> > > > > > > Advisory Board Member
> > > > > > > www.OpenNETCF.org
> > > > > > > ---
> > > > > > > Windows CE Product Manager
> > > > > > > Applied Data Systems
> > > > > > > www.applieddata.net
> > > > > > >
> > > > > > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > > > > > news:%(E-Mail Removed)...
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I want to develop a solution like this:
> > > > > > > >
> > > > > > > > data flow:
> > > > > > > > PPC app <---> ActiveSync <---> Desktop app <--->

Database
> > > > > > > >
> > > > > > > > Usage:
> > > > > > > > PPC will update data offline and want to sync back to DB

> > when
> > > > > > > connected
> > > > > > > >
> > > > > > > > Upon Sync:
> > > > > > > > 1. PPC will move a xml file (DataSet Diffgrams) to

desktop
> > > > > computer
> > > > > > > > 2. ActiveSync will CALL(?) Desktop app to process the

xml
> > file
> > > > (if
> > > > > > any
> > > > > > > > change, apply it then get new dataset from DB and send back

to
> > PPC
> > > > > > > >
> > > > > > > > I will use VS.NET 2003 SmartDeviceApp template with .NET

> Compact
> > > > > > > framework,
> > > > > > > > I am new with PPC development and esp. need help on HOW TO

> write
> > > app
> > > > > and
> > > > > > > > REGISTER it with ActiveSync and my Desktop app will be

> launched
> > > upon
> > > > > > Sync
> > > > > > > > time. Can anyone point me a sample that use VB.NET or C#? Is

> it
> > > > > possible
> > > > > > > to
> > > > > > > > do this without using C++?
> > > > > > > >
> > > > > > > > Thanks very much!
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
John Lee
Guest
Posts: n/a
 
      10th Sep 2003
Thanks Peter!!!

Another question, Because my desktop app is not an ActiveSync service
provider, the activeSync has no idea how when my desktop will finish the job
so while my desktop application is busy doing the job, the activeSync
connection could be closed before the desktop app copy back the updated
results back to PPC, Is there a way to either keep the connection open or
re-instaniate the connection from desktop app (C# code)?

Thanks!

John

"Peter Foot [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You'll find the keys described in this article on "Registry Based
> Notification":-
>

http://msdn.microsoft.com/library/de...tification.asp
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
>
> In The Hand
> http://www.inthehand.com
>
> "John Lee" <john-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thanks a lot, Chris!!!
> >
> > Sounds great solution - Could you please tell me which registry key

needed
> > to be set so when ActiveSync makes a connection my Desktop app will be
> > called?
> >
> > Again, thanks a lot - you are my life saver!
> >
> > John
> >
> > "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > You cannot create a full-blown ActiveSync provider with manager code,
> > > however I don't think you need one for these requirements. Simply

> create
> > a
> > > desktop app that run when ActiveSync makes a connection (simple

registry
> > key
> > > registration). That app can use RAPI to copy the XML files from the
> > > connected device to the PC and to send data back to the PPC.
> > >
> > > Check out www.opennetcf.org/communication.asp
> > >
> > > --
> > > Chris Tacke, eMVP
> > > Advisory Board Member
> > > www.OpenNETCF.org
> > > ---
> > > Windows CE Product Manager
> > > Applied Data Systems
> > > www.applieddata.net
> > >
> > > "John Lee" <john-(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > Hi,
> > > >
> > > > I want to develop a solution like this:
> > > >
> > > > data flow:
> > > > PPC app <---> ActiveSync <---> Desktop app <---> Database
> > > >
> > > > Usage:
> > > > PPC will update data offline and want to sync back to DB when
> > > connected
> > > >
> > > > Upon Sync:
> > > > 1. PPC will move a xml file (DataSet Diffgrams) to desktop

> computer
> > > > 2. ActiveSync will CALL(?) Desktop app to process the xml file

(if
> > any
> > > > change, apply it then get new dataset from DB and send back to PPC
> > > >
> > > > I will use VS.NET 2003 SmartDeviceApp template with .NET Compact
> > > framework,
> > > > I am new with PPC development and esp. need help on HOW TO write app

> and
> > > > REGISTER it with ActiveSync and my Desktop app will be launched upon

> > Sync
> > > > time. Can anyone point me a sample that use VB.NET or C#? Is it

> possible
> > > to
> > > > do this without using C++?
> > > >
> > > > Thanks very much!
> > > >
> > > > John
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: ActiveSync Guest Account No Internet Access Alberto Silva Microsoft Dot NET Compact Framework 0 20th Mar 2006 11:31 PM
Simulate Lookup Field Functionality on Data Access Page - Access 2000 jennifer7703 Microsoft Access 0 20th Jul 2005 09:43 PM
Form developed in Access 2003 losing functionality in Access 2002 =?Utf-8?B?UEVURVI=?= Microsoft Access Forms 2 11th Apr 2005 06:25 PM
LAN access with ActiveSync Umberto Albano Microsoft Dot NET Compact Framework 0 18th Jan 2005 12:00 PM
ActiveSync Access Database bic Microsoft Dot NET Compact Framework 6 30th Jan 2004 10:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:02 PM.