Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 8 Jul 2005 07:56:03 -0700,    group: microsoft.public.exchange2000.development        back       


Getting Filename of an Outlook.*Item?   
Hi.

Is there a way to get the filename of an Item via vb6?

I have the item as ... say an Outlook.ContactItem for example, and i want to 
read out the (.eml) filename, but i cant find a way for doing this.

Is there a way to get the blah.EML-Filename?

Another question: Is there a way for searching quick throu 10000 items in a 
folder with vb6? I dont want to

for each item in folder.items
  if item.entryid = searchingForThisEntryID then exit for
next

, because i think it is too slow...

Is there a better way for doing this?

Thanks, regards

Fabian Werner
date: Fri, 8 Jul 2005 07:56:03 -0700   author:   castle8000

Re: Getting Filename of an Outlook.*Item?   
Are you talking about Outlook or Outlook Express?

Outlook keeps its items either in an Exchange mailbox or a PST file. In 
either case the items are not in the file system unless you save them as 
..MSG files, and then they'd still be in the usual mail store unless you 
deleted them.

To get an Outlook item if you have the EntryID already you would use 
NameSpace.GetItemFromID(strEntryID).

-- 
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"castle8000"  wrote in message 
news:2E8EA76B-DC66-4C88-967F-94E1A9729CC0@microsoft.com...
> Hi.
>
> Is there a way to get the filename of an Item via vb6?
>
> I have the item as ... say an Outlook.ContactItem for example, and i want 
> to
> read out the (.eml) filename, but i cant find a way for doing this.
>
> Is there a way to get the blah.EML-Filename?
>
> Another question: Is there a way for searching quick throu 10000 items in 
> a
> folder with vb6? I dont want to
>
> for each item in folder.items
>  if item.entryid = searchingForThisEntryID then exit for
> next
>
> , because i think it is too slow...
>
> Is there a better way for doing this?
>
> Thanks, regards
>
> Fabian Werner
date: Fri, 8 Jul 2005 15:40:21 -0400   author:   Ken Slovak - [MVP - Outlook]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us