PC Review


Reply
Thread Tools Rate Thread

Creating an Outlook Distribution List in VB.Net

 
 
Jason James
Guest
Posts: n/a
 
      9th Mar 2005
Hi all,

does anyone have any suggestions as to the steps
involved in creating a DL using VB.Net.

I have some Outlook automation experience
but I'm not sure what the objects are that I should
be creating. There is a distribution list item object,
but no dsitribution list object to contain the items!


Here's what I have so far:


Dim oApp As outlook.Application = New outlook.Application
Dim oNS As outlook.NameSpace = oApp.GetNamespace("MAPI")
oNS.Logon("Outlook", Missing.Value, False, True)
Dim oDistItem As outlook.DistListItem =
oApp.CreateItem(outlook.OlItemType.olDistributionListItem)


Any help would be greatly appreciated.

Many thanks,

Jason.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Distribution List in OUTLOOK 2007 ATK31 Microsoft Outlook Contacts 8 31st Mar 2010 08:52 PM
creating a distribution list in outlook =?Utf-8?B?SmFtaWUgTydOZWlsbA==?= Windows XP General 2 10th Aug 2006 04:35 PM
Creating Outlook Distribution List =?Utf-8?B?RWQgS3VyYQ==?= Microsoft Excel Misc 2 19th Jul 2005 01:56 PM
creating a distribution list in Outlook 2000 Kiran K Mandava Microsoft Outlook Contacts 1 14th Jul 2004 03:19 AM
Re: creating Distribution list in Outlook XP Russ Valentine [MVP-Outlook] Microsoft Outlook Contacts 0 7th Jul 2003 11:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.