Re: ActiveSync

From: Chris Tacke, eMVP (ctacke_at_spamfree-opennetcf.org)
Date: 11/09/04


Date: Tue, 9 Nov 2004 10:02:36 -0500

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
>>>
>>
>>
>
> 


Relevant Pages

  • Re: VB.Net not building added file
    ... What was happening was that I still had to manually add a reference to ... I would have thought that if the project was building the .dll, ... Imports System.Data.SqlClient ... Dim SqlConnection1 As SqlConnection ...
    (microsoft.public.dotnet.languages.vb)
  • Re: import dll issue
    ... Could you clarify where the Imports.. ... >> reference to the system.directoryservices dll but all of the references ... I think i've imported the dll correctly through ... >> Catch Exception1 As Exception ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Access C# DLL from ASP .NET
    ... You need to copy the DLL into the project's /bin folder, add a reference to ... it in your project and use imports in your code. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reference vs. Imports
    ... Note that this is in reference to a DLL, not a NameSpace. ... > Imports: add the namespaceto you class, so you dont have to keep ...
    (microsoft.public.vstudio.general)
  • Naive Tapi Question
    ... I would like to do some Tapi using P/Invoke on a Pocket PC 2002 using Win CE ... What .dll do I need to reference on the mobile unit? ...
    (microsoft.public.dotnet.framework.compactframework)