Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   VBScript - load data from a file and save a contact in Outlook (http://www.go4expert.com/forums/vbscript-load-data-file-save-contact-t1312/)

Jacek_ 31Aug2006 17:36

VBScript - load data from a file and save a contact in Outlook
 
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

shabbir 31Aug2006 20:18

Re: VBScript - load data from a file and save a contact in Outlook
 
Duplicate of VBScript - load a data from a file and create a new Outlook contact!. Thread closed.


All times are GMT +5.5. The time now is 19:26.