Re: ActiveSync
From: Chris Tacke, eMVP (ctacke_at_spamfree-opennetcf.org)
Date: 11/09/04
- Next message: Chris Tacke, eMVP: "Re: Works on one device"
- Previous message: Chris Tacke, eMVP: "Re: ActiveSync"
- In reply to: Glyn Meek: "Re: ActiveSync"
- Next in thread: Daniel Moth: "Re: ActiveSync"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Nov 2004 17:51:04 -0500
Oh, and I didn't answer the question...I'm guessing you have to use
AddHandler - since I rarely use VB I'm not sure though.
-- <ctacke/> www.OpenNETCF.org Your CF searches start and end here "Glyn Meek" <gjmeek@earthlink.net> wrote in message news:I9bkd.9800$O11.8772@newsread3.news.pas.earthlink.net... > Thanks Chris...this is the first time I have used anything from the > OpenNETCF and I am IMPRESSED...my thanks to those souls who put this code > out there!!!! > > The routines work perfectly, but I have to admit that the documentation > leaves something to be desired wrt examples. Still, I suppose if you are > using this stuff, it is assumed you have at least some clue as to what you > are doing. > > I can get everything I need but one last question. > > I am trying to implement a routine to handle the RAPIDisconnected event so > I can stop my 'synching' routine if the user disconnects the Pocket Pc > during the processing. I am struggling as to how to define the routine > that traps the RAPIDisconnected event. > > Do I need to do an 'addhandler' or is there some way for me to do > something like > > Private Sub DeviceDisconnected() Handles myRAPI.RAPIDisconnected > > end Sub > > Glyn > > > > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message > news:uNqYn0mxEHA.2752@TK2MSFTNGP11.phx.gbl... >> If you've got the DLL, simply adding a reference and an "Imports" >> statement should be all you need. You can also add the entire source >> project to your solution and reference it internally. >> >> -- >> <ctacke/> >> www.OpenNETCF.org >> Your CF searches start and end here >> >> >> "Glyn Meek" <gjmeek@earthlink.net> wrote in message >> news:15Zjd.9348$O11.5470@newsread3.news.pas.earthlink.net... >>> Peter...PERFECT...I have downloaded the OpenNETCF Communications >>> library, and it appears to have ALL the methods I need...however, since >>> this is the first time I have used OpenNETCF code I am struggling a >>> little to integrate it into my application and call the methods. >>> >>> I have added the .dll to my reference list and inserted >>> Imports OpenNETCF.Desktop.Communication >>> >>> at the beginning of my routine. What else do I need to do so I can >>> actually access the methods in my code? >>> >>> Regards >>> >>> Glyn >>> >>> >>> >>> "Peter Foot [MVP]" <feedback@no-spam.inthehand.com> wrote in message >>> news:%23Rc8ybexEHA.3416@TK2MSFTNGP09.phx.gbl... >>>>A really simple way would be to write a small desktop executable using >>>>RAPI to transfer files, you can do this from .NET code using OpenNETCF's >>>>Communications library - >>>> http://www.opennetcf.org/PermaLink.aspx?guid=d7b7cbef-4ab6-477b-924c-0498a523beaf >>>> >>>> You can launch your desktop app when ActiveSync connects using the >>>> registry keys at:- >>>> a.. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE >>>> Services\AutoStartOnConnect >>>> b.. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE >>>> Services\AutoStartOnDisconnect >>>> See >>>> http://msdn.microsoft.com/library/en-us/wceconct/html/_wcesdk_Registry-based_Notification.asp >>>> for more details. >>>> >>>> Peter >>>> >>>> -- >>>> Peter Foot >>>> Windows Embedded MVP >>>> www.inthehand.com | www.opennetcf.org >>>> >>>> "Glyn Meek" <gjmeek@earthlink.net> wrote in message >>>> news:p_Njd.21173$KJ6.8208@newsread1.news.pas.earthlink.net... >>>>> What is the best way to produce a routine on the Pocket PC that will >>>>> enable me to use the Active Sync link to synchronize data files >>>>> between the Pocket PC and the Desktop WITHOUT the user having to get >>>>> into the intricacies of ActiveSync and having to set up there own File >>>>> Synchronization etc. >>>>> >>>>> I have a file in directory a on the desktop and directory b on the >>>>> Pocket PC (a and b will alwsy be the same) and I just want to have the >>>>> files sync automatically. I am aiming at 'less than computer savvy' >>>>> customers, and need this to be SIMPLE. >>>>> >>>>> Anyone know of any white papers, or third party packages/routines that >>>>> might help? >>>>> >>>>> Regards >>>>> >>>>> Glyn J Meek >>>>> >>>> >>>> >>> >>> >> >> > >
- Next message: Chris Tacke, eMVP: "Re: Works on one device"
- Previous message: Chris Tacke, eMVP: "Re: ActiveSync"
- In reply to: Glyn Meek: "Re: ActiveSync"
- Next in thread: Daniel Moth: "Re: ActiveSync"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|