1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

VBScript - load data from a file and save a contact in Outlook

Discussion in 'Web Design, HTML And CSS Forums' started by Jacek_, Aug 31, 2006.

Thread Status:
Not open for further replies.
  1. Jacek_

    Jacek_ New Member

    Joined:
    Aug 31, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hey guys!

    I'd like to create a vbs script which could load specific data from a file..

    name, lastname, e-mail
    e.g.
    john, smith, world, john@world.com
    and so on..

    and then create a new contact in outlook application using those values.

    To create a new contact i could you sth like this:
    Const olContactItem = 2a
    Dim objOutl, objContact
    Set objOutl = WScript.CreateObject("Outlook.Application")
    Set objContact = objOutl.CreateItem(olContactItem)
    objContact.FirstName = "john"
    objContact.LastName = "smith"
    objContact.Email1Address = "john@world.com"
    objContact.Save()

    But i'm not able to create a procedure which could load that data from a file, could you please help me with that.

    Jack
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    Duplicate of [thread=1313]VBScript - load a data from a file and create a new Outlook contact![/thread]. Thread closed.
     
Thread Status:
Not open for further replies.

Share This Page