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.
 
D

Dmitry Streblechenko

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.
 
L

LDSPowershell

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.
 
L

LDSPowershell

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.
 
D

Dmitry Streblechenko

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.
 
S

shay.nixon@gmail.com

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
 
D

Dmitry Streblechenko

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
 
L

LDSPowershell

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#?
 
D

Dmitry Streblechenko

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#?
 
L

LDSPowershell

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 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 New Slipstick.com Articles 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
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 3
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
A Multiple signatures Using Outlook 2
O Outlook tasks - Add text column with multiple lines Using Outlook 3
R How to get the Items object of the default mailbox of a specific account in a multiple account Outlook? Outlook VBA and Custom Forms 0
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
L Multiple Inboxes Using Outlook 3
RBLampert Accessing Outlook accounts from multiple computers Using Outlook 8
Martull Forced signature when multiple accounts exist Outlook VBA and Custom Forms 4
T Outlook 2010 Correct way to map multiple contact fields Using Outlook 4
Y Open and Save Hyperlink Files in multiple emails Outlook VBA and Custom Forms 9
O Multiple email accounts - hesitate to create a new profile Using Outlook 3
papa.deblanc Multiple Instances Using Outlook 6
V Multiple Calendars in Outlook To-Do Bar; Office 365 Using Outlook 3
A Add multiple servers "on behalf of" email to "safe senders" list. Using Outlook 1
M possible to search Outlook for multiple email addresses at once? Using Outlook 1
C Macro to add multiple recipients to message Outlook VBA and Custom Forms 3
D [TOOL] QuickModules to sort emails very quickly to multiple folders Outlook VBA and Custom Forms 1
A Multiple Outlook Invites Received by One Person Using Outlook 4

Similar threads

Top