Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
looking for a way to retreive the Last Sync date for ActiveSync on a Pocket
PC? Has anyone done this before?

Using Pocket PC 4.20.0 (2003 I think)
HP Dolphin 9500
Processor XScale PXA255
ActiveSync ? (3.7.1 on PC)

thanks
--
b

Re: ActiveSync - getting last sync date by Peter

Peter
Tue Nov 09 11:51:31 CST 2004

Its written to the registry:-

HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\[id of
device]\Services\Synchronization

Last Sync Time (Binary)

If you have multiple partner devices you'll need to enumerate each subkey of
Partners and read the DisplayName value to determine which device is which.

It's a SystemTime structure - Each 2 bytes represents year, month,
dayofweek, day, hour, minute, second, millisecond

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org


"brharsh17" <brharsh17@discussions.microsoft.com> wrote in message
news:26BF26E9-B5B3-484E-A705-FFB3680646C0@microsoft.com...
> Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
> looking for a way to retreive the Last Sync date for ActiveSync on a
> Pocket
> PC? Has anyone done this before?
>
> Using Pocket PC 4.20.0 (2003 I think)
> HP Dolphin 9500
> Processor XScale PXA255
> ActiveSync ? (3.7.1 on PC)
>
> thanks
> --
> b



Re: ActiveSync - getting last sync date by brharsh17

brharsh17
Tue Nov 09 12:32:04 CST 2004

Great I have a starting point
I found your article
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=732

but which libraries do I need to import?


"Peter Foot [MVP]" wrote:

> Its written to the registry:-
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\[id of
> device]\Services\Synchronization
>
> Last Sync Time (Binary)
>
> If you have multiple partner devices you'll need to enumerate each subkey of
> Partners and read the DisplayName value to determine which device is which.
>
> It's a SystemTime structure - Each 2 bytes represents year, month,
> dayofweek, day, hour, minute, second, millisecond
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
>
> "brharsh17" <brharsh17@discussions.microsoft.com> wrote in message
> news:26BF26E9-B5B3-484E-A705-FFB3680646C0@microsoft.com...
> > Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
> > looking for a way to retreive the Last Sync date for ActiveSync on a
> > Pocket
> > PC? Has anyone done this before?
> >
> > Using Pocket PC 4.20.0 (2003 I think)
> > HP Dolphin 9500
> > Processor XScale PXA255
> > ActiveSync ? (3.7.1 on PC)
> >
> > thanks
> > --
> > b
>
>
>

Re: ActiveSync - getting last sync date by brharsh17

brharsh17
Tue Nov 09 14:33:02 CST 2004

downloaded OpenNetCF.DLL from

http://www.opennetcf.org/download.asp?product=SmartDeviceFramework12



"brharsh17" wrote:

> Great I have a starting point
> I found your article
> http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=732
>
> but which libraries do I need to import?
>
>
> "Peter Foot [MVP]" wrote:
>
> > Its written to the registry:-
> >
> > HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\[id of
> > device]\Services\Synchronization
> >
> > Last Sync Time (Binary)
> >
> > If you have multiple partner devices you'll need to enumerate each subkey of
> > Partners and read the DisplayName value to determine which device is which.
> >
> > It's a SystemTime structure - Each 2 bytes represents year, month,
> > dayofweek, day, hour, minute, second, millisecond
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> > www.inthehand.com | www.opennetcf.org
> >
> >
> > "brharsh17" <brharsh17@discussions.microsoft.com> wrote in message
> > news:26BF26E9-B5B3-484E-A705-FFB3680646C0@microsoft.com...
> > > Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
> > > looking for a way to retreive the Last Sync date for ActiveSync on a
> > > Pocket
> > > PC? Has anyone done this before?
> > >
> > > Using Pocket PC 4.20.0 (2003 I think)
> > > HP Dolphin 9500
> > > Processor XScale PXA255
> > > ActiveSync ? (3.7.1 on PC)
> > >
> > > thanks
> > > --
> > > b
> >
> >
> >

Re: ActiveSync - getting last sync date by brharsh17

brharsh17
Tue Nov 09 14:37:05 CST 2004

with using the registry example with opennetcf I looked for the registry
entry below but can only get as far as Windows CE Services

in HKEY_LOCAL_MACHINE I get as far as Partners with P1,P2, NetworkGUID, and
PCU


"Peter Foot [MVP]" wrote:

> Its written to the registry:-
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\[id of
> device]\Services\Synchronization
>
> Last Sync Time (Binary)
>
> If you have multiple partner devices you'll need to enumerate each subkey of
> Partners and read the DisplayName value to determine which device is which.
>
> It's a SystemTime structure - Each 2 bytes represents year, month,
> dayofweek, day, hour, minute, second, millisecond
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
>
> "brharsh17" <brharsh17@discussions.microsoft.com> wrote in message
> news:26BF26E9-B5B3-484E-A705-FFB3680646C0@microsoft.com...
> > Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
> > looking for a way to retreive the Last Sync date for ActiveSync on a
> > Pocket
> > PC? Has anyone done this before?
> >
> > Using Pocket PC 4.20.0 (2003 I think)
> > HP Dolphin 9500
> > Processor XScale PXA255
> > ActiveSync ? (3.7.1 on PC)
> >
> > thanks
> > --
> > b
>
>
>

RE: ActiveSync - getting last sync date by Silviuxa

Silviuxa
Mon Dec 13 18:51:02 CST 2004

Hi!!

I am working too with an HP 9500. I wonder if u have any idea of how to make
a
function that synchronizes automatically the Handheld with the PC and
viceversa. I would be very grateful!!

Thanx a lot!


"brharsh17" wrote:

> Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
> looking for a way to retreive the Last Sync date for ActiveSync on a Pocket
> PC? Has anyone done this before?
>
> Using Pocket PC 4.20.0 (2003 I think)
> HP Dolphin 9500
> Processor XScale PXA255
> ActiveSync ? (3.7.1 on PC)
>
> thanks
> --
> b

Re: ActiveSync - getting last sync date by r_z_aret

r_z_aret
Tue Dec 14 13:34:45 CST 2004

On Mon, 13 Dec 2004 16:51:02 -0800, "Silviuxa"
<Silviuxa@discussions.microsoft.com> wrote:

>Hi!!
>
>I am working too with an HP 9500. I wonder if u have any idea of how to make
>a
>function that synchronizes automatically the Handheld with the PC and
>viceversa. I would be very grateful!!

I really did try to answer your virtually identical question in your
thread called "Automatic Synchronizartion". If I didn't succeed,
please respond to me there so I, or someone else, can try again.


>
>Thanx a lot!
>
>
>"brharsh17" wrote:
>
>> Hello, I'b building an app in VB.NET for a Hand Held and I've spent hours
>> looking for a way to retreive the Last Sync date for ActiveSync on a Pocket
>> PC? Has anyone done this before?
>>
>> Using Pocket PC 4.20.0 (2003 I think)
>> HP Dolphin 9500
>> Processor XScale PXA255
>> ActiveSync ? (3.7.1 on PC)
>>
>> thanks
>> --
>> b

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com