VBA or Visual Basic or VSTO for outlook sync?



Hi

I have been struggling for a while with the following problem: I am trying
to write a code that will launch 'send/receive' for an Outlook account. The
purpose is to sync back outlook to an exchange server after a 1-way sync from
google mail witout opening outlook.

I have downloaded and installed visual basic 2005 express edition and could
create a console application that perform this operation. I used the
syncobect from outlook. However, the events from outlook do not fire and I
absolutely need the syncend event to wait before ending the application. I
have been intensively trying to find a bug in my code without success

So here is my question: is my code wrong or does it come from the tools I
have been using to create the application. Do I need to use VBA or the VSTO
extension to visual studio. In that case do you know if there is a free way
to do that?

Bonus question: if you have in mind another way to automatically sync
outlook to exchange, it could also be a solution!

Thanks for reading and your help

Alban
.



Relevant Pages

  • Re: ActiveSync encountered a problem on the desktop
    ... be a problem starting Outlook. ... I tried to sync Contacts, Notes, Calendar, Tasks, Mobile Favorites. ... I have sent the log files via e-mail. ... I own an I-Mate Jamin and I am running Windows Vista Ultimate RTM, ...
    (microsoft.public.pocketpc.activesync)
  • Re: ActiveSync encountered a problem on the desktop
    ... be a problem starting Outlook. ... I tried to sync Contacts, Notes, Calendar, Tasks, Mobile Favorites. ... I have sent the log files via e-mail. ... same error message. ...
    (microsoft.public.pocketpc.activesync)
  • Re: Sync has erased 3 years in my PPC calendar
    ... Last night I had started manually transferring from PPC to Outlook my main ... appointments for the 3 missing months. ... Delete any items that transfer to desktop Outlook and sync ...
    (microsoft.public.pocketpc)
  • Re: Contact name lookup broken after ActiveSync: Subject name order
    ... device to outlook syncing works very well with respect to fields staying intact on both sides. ... I've used many 3rd-party sync solutions over the years, though, and usually there are a few weird quirks with them- that bit about adding "United States" to contacts has a familiar ring as something some 3rd-party products used to do, because third-party sync solutions not-natively based on Outlook, have to reformat Outlook Contacts to fit their own database requirements. ... Client cannot look up names by First Name from the Outlook Address ...
    (microsoft.public.pocketpc.activesync)
  • Re: Activesync replacement?
    ... I've checked my AS on my Treo 700wx, no server has been indicated and no ... exchange settings exist. ... I don't sync my outlook with my treo, ... something to sync my calendar and contacts stored IN outlook, ...
    (microsoft.public.pocketpc.activesync)