how to populate multiple users contacts

Status
Not open for further replies.
L

LDSPowershell

Is there a way to add contacts to multiple accounts using powershell

or c# or vb. I've done a lot in powershell, a little in c# and none

in vb. I'll accept any of the above if someone could give me a head

start.
 
Do you mean in multiple Exchange mailboxes?

Sure, call Application.Session.GetSharedDefaultFolder(...,

olFolderContacts), then call Folder.Items.Add to create a new contact

Dmitry Streblechenko (MVP)

-

"LDSPowershell" <nixonjl@gmail.com> wrote in message

news:29c6d49d-dc8e-4106-aa6c-eabbb29864fd@s16g2000vbp.googlegroups.com...
> Is there a way to add contacts to multiple accounts using powershell
> or c# or vb. I've done a lot in powershell, a little in c# and none
> in vb. I'll accept any of the above if someone could give me a head
> start.
 
Correct, multiple brand new accounts, exchange 2007. I'm assuming

thats vba, thanks for the info.. it looks like i'll have to grab a

vba book, i've always wanted to learn a bit about vba.

On May 11, 12:40 pm, "Dmitry Streblechenko" <dmi...@dimastr.com
wrote:
> Do you mean in multiple Exchange mailboxes?
> Sure, call Application.Session.GetSharedDefaultFolder(...,
> olFolderContacts), then call Folder.Items.Add to create a new contact

> > Dmitry Streblechenko (MVP)
> OutlookSpy  - Outlook, CDO
>

> -"LDSPowershell" <nixo...@gmail.com> wrote in message

> news:29c6d49d-dc8e-4106-aa6c-eabbb29864fd@s16g2000vbp.googlegroups.com...
>
> > Is there a way to add contacts to multiple accounts using powershell
> > or c# or vb.  I've done a lot in powershell, a little in c# and none
> > in vb.  I'll accept any of the above if someone could give me a head
> > start.
 
On May 11, 2:56 pm, LDSPowershell <nixo...@gmail.com> wrote:
> Correct, multiple brand new accounts,  exchange 2007.  I'm assuming
> thats vba,  thanks for the info.. it looks like i'll have to grab a
> vba book, i've always wanted to learn a bit about vba.

> On May 11, 12:40 pm, "Dmitry Streblechenko" <dmi...@dimastr.com
> wrote:
>
> > Do you mean in multiple Exchange mailboxes?
> > Sure, call Application.Session.GetSharedDefaultFolder(...,
> > olFolderContacts), then call Folder.Items.Add to create a new contact

>
> > > > Dmitry Streblechenko (MVP)
> > OutlookSpy  - Outlook, CDO
> >

> > -"LDSPowershell" <nixo...@gmail.com> wrote in message

>
> >news:29c6d49d-dc8e-4106-aa6c-eabbb29864fd@s16g2000vbp.googlegroups.com....

>
> > > Is there a way to add contacts to multiple accounts using powershell
> > > or c# or vb.  I've done a lot in powershell, a little in c# and none
> > > in vb.  I'll accept any of the above if someone could give me a head
> > > start.


ok, so its looking that is c#. I've just never used it in this way...

I'm not an expert by any means but I can dig around and usually get

things to work.
 
It does not really matter what language you are using.

What exactly are you having problems with?

Dmitry Streblechenko (MVP)

-

"LDSPowershell" <nixonjl@gmail.com> wrote in message

news:1d43da96-423c-4bae-ba82-f9225ccb4545@q2g2000vbr.googlegroups.com...

On May 11, 2:56 pm, LDSPowershell <nixo...@gmail.com> wrote:
> Correct, multiple brand new accounts, exchange 2007. I'm assuming
> thats vba, thanks for the info.. it looks like i'll have to grab a
> vba book, i've always wanted to learn a bit about vba.

> On May 11, 12:40 pm, "Dmitry Streblechenko" <dmi...@dimastr.com
> wrote:
>
> > Do you mean in multiple Exchange mailboxes?
> > Sure, call Application.Session.GetSharedDefaultFolder(...,
> > olFolderContacts), then call Folder.Items.Add to create a new contact

>
> > > > Dmitry Streblechenko (MVP)
> >

> >

> > -"LDSPowershell" <nixo...@gmail.com> wrote in message

>
> >news:29c6d49d-dc8e-4106-aa6c-eabbb29864fd@s16g2000vbp.googlegroups.com...

>
> > > Is there a way to add contacts to multiple accounts using powershell
> > > or c# or vb. I've done a lot in powershell, a little in c# and none
> > > in vb. I'll accept any of the above if someone could give me a head
> > > start.


ok, so its looking that is c#. I've just never used it in this way...

I'm not an expert by any means but I can dig around and usually get

things to work.
 
On May 11, 5:08 pm, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
> It does not really matter what language you are using.
> What exactly are you having problems with?

> > Dmitry Streblechenko (MVP)
> OutlookSpy  - Outlook, CDO
>

> -"LDSPowershell" <nixo...@gmail.com> wrote in message

> news:1d43da96-423c-4bae-ba82-f9225ccb4545@q2g2000vbr.googlegroups.com...
> On May 11, 2:56 pm, LDSPowershell <nixo...@gmail.com> wrote:

>
> > Correct, multiple brand new accounts, exchange 2007. I'm assuming
> > thats vba, thanks for the info.. it looks like i'll have to grab a
> > vba book, i've always wanted to learn a bit about vba.

>
> > On May 11, 12:40 pm, "Dmitry Streblechenko" <dmi...@dimastr.com
> > wrote:

>
> > > Do you mean in multiple Exchange mailboxes?
> > > Sure, call Application.Session.GetSharedDefaultFolder(...,
> > > olFolderContacts), then call Folder.Items.Add to create a new contact

>
> > > > > > Dmitry Streblechenko (MVP)
> > >

> > >

> > > -"LDSPowershell" <nixo...@gmail.com> wrote in message

>
> > >news:29c6d49d-dc8e-4106-aa6c-eabbb29864fd@s16g2000vbp.googlegroups.com....

>
> > > > Is there a way to add contacts to multiple accounts using powershell
> > > > or c# or vb. I've done a lot in powershell, a little in c# and none
> > > > in vb. I'll accept any of the above if someone could give me a head
> > > > start.


> ok, so its looking that is c#.  I've just never used it in this way...
> I'm not an expert by any means but I can dig around and usually get
> things to work.


Im migrating some accounts to exchange and have ldap'd their old

contacts and put them in a csv file. I would like to have them

populated into the new accounts for the users. it can be a bit

difficult for a user to select import from the file menu and follow

the prompts... so it would save a few calls to have them already

populated when they open outlook. im just looking for an semi

automated way to get them in. i can go into each account and import

them in, but I really don't want to do that
 
Did you start writing any code?

Is there a specific Outlook object or method that you are having problems

with?

Dmitry Streblechenko (MVP)

-

Im migrating some accounts to exchange and have ldap'd their old

contacts and put them in a csv file. I would like to have them

populated into the new accounts for the users. it can be a bit

difficult for a user to select import from the file menu and follow

the prompts... so it would save a few calls to have them already

populated when they open outlook. im just looking for an semi

automated way to get them in. i can go into each account and import

them in, but I really don't want to do that
 
On May 12, 9:46 am, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
> Did you start writing any code?
> Is there a specific Outlook object or method that you are having problems
> with?

> > Dmitry Streblechenko (MVP)
> OutlookSpy  - Outlook, CDO
>

> -

> Im migrating some accounts to exchange and have ldap'd their old
> contacts and put them in a csv file.  I would like to have them
> populated into the new accounts for the users.  it can be a bit
> difficult for a user  to select import from the file menu and follow
> the prompts... so it would save a few calls to have them already
> populated when they open outlook. im just looking for an semi
> automated way to get them in.  i can go into each account and import
> them in, but I really don't want to do that


Im sitting in visual studio right now playing with code. no problems

yet that I need to ask question about, again Im not an expert in c# or

studio, but the web is a beautiful thing when it comes to finding how

to do things! which do you think would be easier, vb or c#?
 
It is whatever you are most comfortable with :)

I'd personally prefer C#.

Dmitry Streblechenko (MVP)

-

Im sitting in visual studio right now playing with code. no problems

yet that I need to ask question about, again Im not an expert in c# or

studio, but the web is a beautiful thing when it comes to finding how

to do things! which do you think would be easier, vb or c#?
 
On May 12, 3:03 pm, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
> It is whatever you are most comfortable with :)
> I'd personally prefer C#.

> > Dmitry Streblechenko (MVP)
> OutlookSpy  - Outlook, CDO
>

> -

> Im sitting in visual studio right now playing with code.  no problems
> yet that I need to ask question about, again Im not an expert in c# or
> studio, but the web is a beautiful thing when it comes to finding how
> to do things!  which do you think would be easier, vb or c#?


after I asked about vb or c# I realized that its really .net

right--- thats why you say it doesn't matter. its all coming

together...I'm new to the MS thing but am finding it enjoyable.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
C Populate form data into message body Outlook VBA and Custom Forms 1
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
B Outlook 365 Populate Outlook Task UDFs from a UDF text string Outlook VBA and Custom Forms 2
D Cannot populate certain UserProperties in Outlook from Excel Outlook VBA and Custom Forms 2
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
C Trying to populate an appointment ComboBox from Excel Outlook VBA and Custom Forms 2
A Populate Listbox from Txt File Outlook VBA and Custom Forms 0
A Populate Textbox from Txt File Outlook VBA and Custom Forms 1
M Adding Macro to populate "to" "subject" "body" not deleting email string below. Outlook VBA and Custom Forms 5
Diane Poremsky Outlook VBA: Use a Text File to Populate a ListBox Using Outlook 0
T populate calendar with appointments and send reminders Using Outlook 1
A Populate Excel from Outlook Userform Outlook VBA and Custom Forms 3
J Live Meeting Location populate from body Outlook VBA and Custom Forms 4
A How can I populate a dropdown list? BCM (Business Contact Manager) 4
rohit I want to Populate Popup box while sending any email with attachment. Outlook VBA and Custom Forms 4
rohit I want to Populate Popup box while sending any email with attachment Using Outlook 1
A Cannot populate IMAP folders Using Outlook 1
S Pre populate subject + body + attachment to already open email in outlook 2007 Using Outlook 2
S Populate textbox values from one form to another form. Using Outlook 0
B Auto Populate From Field Using Outlook 3
G Populate an Outlook 2007 template with spreadsheet data. Outlook VBA and Custom Forms 1
R Populate Form with appointments from Calendar Outlook VBA and Custom Forms 1
J populate word template from Outlook custom form Outlook VBA and Custom Forms 2
G Populate BCC field with all Contacts within a Contact Folder Outlook VBA and Custom Forms 4
M Create new Contacts folder and populate it from Access Outlook VBA and Custom Forms 1
A Macro - Open new message, populate from and subject fields, and message text Outlook VBA and Custom Forms 1
G Macro: Create New Message and Auto populate To Field Outlook VBA and Custom Forms 5
S populate body with Word data Outlook VBA and Custom Forms 7
A Populate task field based on value of other field Outlook VBA and Custom Forms 9
R Select Multiple Graphic Objects Using Outlook 0
Hornblower409 Automatically or Manually Backup Multiple Versions of VbaProject.OTM Outlook VBA and Custom Forms 1
B Modify VBA to create a RULE to block multiple messages Outlook VBA and Custom Forms 0
C Outlook 365 Multiple different Signatures on Shared Mailbox Using Outlook 0
R Advise on using multiple instances of network files based on customers Outlook VBA and Custom Forms 8
D multiple email accounts - why do I have to choose the "from" account address?? Using Outlook 2
J Outlook Rules VBA Run a Script - Multiple Rules Outlook VBA and Custom Forms 0
C How to search for items in Outbox with multiple accounts? Using Outlook 20
K How to share multiple calendar items Using Outlook 1
K Multiple copies of task being created Using Outlook 2
S Auto forward for multiple emails Outlook VBA and Custom Forms 0
K Multiple Rules on Single Email Using Outlook 2
Cathy Rhone gmail listed multiple times Using Outlook 3
H Synchronize contacts and calendars across multiple devices Using Outlook 0
V Outlook 2016 Multiple recurring tasks getting created Using Outlook 0
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
Globalforester ItemAdd Macro - multiple emails Outlook VBA and Custom Forms 3
J Multiple calendars Using Outlook 0
C Multiple emails Using Outlook 8
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
E Asking user to select multiple options in a list in an email Outlook VBA and Custom Forms 0

Similar threads

Back
Top