Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7415395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:17:44+00:00 2026-05-29T07:17:44+00:00

I have a daily-generated CSV file containing contact data which I want load entries

  • 0

I have a daily-generated CSV file containing contact data which I want load entries into an Outlook contact file (overwriting the file each time, not appending). I know I can import the CSV file manually, but that’s a pain to do every day. Has anyone any ideas how I can automate the process (eg. by running a scheduled batch or exe file)? I am proficient in Python and Visual Foxpro, so if a programming solution is required, either of these languages would be preferable.

Also, I want to ensure that the imported fields are in the correct order. Where can I find a default field-mapping list for the contact file?

Any help would be appreciated.

Alan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:17:46+00:00Added an answer on May 29, 2026 at 7:17 am

    If you can import the file manually, you can certainly automate it. With VFP, you’d create an instance of Outlook, instantiate the namespace, and then call on whatever the method is that imports the CSV.

    oOutlook = CREATEOBJECT("Outlook.Application")
    oNS = oOutlook.GetNameSpace("MAPI")
    * You'll probably have to drill in and grab a reference
    * to some object before calling whatever the method is
    

    One issue with automating Outlook is that it likes to protect itself from code touching some things and I wouldn’t be surprised if Contact records are among those. If this is for your own personal use, you could turn that protection off. The specifics depend on the version. In Outlook 2010, it’s File | Options, then Trust Center, then Programmatic Access.

    Once you’ve got code that works, build an EXE, and use the Windows Task Scheduler to run it daily.

    Tamar

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to have a process that compiles daily data into an PDF that
I have written a PHP script which generates an SQL file containing all tables
I have a large file of roughly 400 GB of size. Generated daily by
I have a daily cron job that email PDFs to customers. I want to
I have a system that emails programmatically generated emails hundreds of times daily. They
I have a text file on my local machine that is generated by a
I want to Generate Calendar in c#.net to enter daily attendance.I have used jquery
I have a DOS batch file to run on a daily basis. Something similar
I have a web tool which when queried returns generated Java classes based upon
I receive a daily XML file which I use to update a database with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.