A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Change filename



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 27th 07, 09:07 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Change filename

Hello,

in this post http://groups.google.com/group/micro...3cec52/?hl=de#
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com

Ads
  #2  
Old March 27th 07, 09:20 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Change filename

No, you can't do that. You also can't add a UserProperty to a DocumentItem.

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


"Peter Marchert" wrote in message
ups.com...
Hello,

in this post
http://groups.google.com/group/micro...3cec52/?hl=de#
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com

  #3  
Old March 27th 07, 09:58 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Change filename

Do you mean you want to change the file name of an attachment stored by a
document item in Outlook?
Change the attachment file name, save the attachment (RDOAttachment.Save),
then save the parent message (RDOMail.Save).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message
ups.com...
Hello,

in this post
http://groups.google.com/group/micro...3cec52/?hl=de#
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


  #4  
Old March 28th 07, 05:51 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Change filename

Thank you Ken,

I feared that, but is also a help surley to know that is not possible.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 27 Mrz., 22:20, "Ken Slovak - [MVP - Outlook]"
wrote:
No, you can't do that. You also can't add a UserProperty to a DocumentItem.

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

"Peter Marchert" wrote in message

ups.com...
Hello,

in this posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com



  #5  
Old March 28th 07, 05:52 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Change filename

Thank you Dmitry for your answer,

it`s a file I dragged and dropped by the windows explorer.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:
Do you mean you want to change the file name of an attachment stored by a
document item in Outlook?
Change the attachment file name, save the attachment (RDOAttachment.Save),
then save the parent message (RDOMail.Save).

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ups.com...
Hello,

in this posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com



  #6  
Old March 28th 07, 06:07 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Change filename

So did it work after/if you tried my suggestion?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message
ups.com...
Thank you Dmitry for your answer,

it`s a file I dragged and dropped by the windows explorer.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:
Do you mean you want to change the file name of an attachment stored by a
document item in Outlook?
Change the attachment file name, save the attachment (RDOAttachment.Save),
then save the parent message (RDOMail.Save).

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ups.com...
Hello,

in this
posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.

Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?

Thanks!
Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com




  #7  
Old March 28th 07, 06:27 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Change filename

Hmm, sorry, Dmitry, I don`t understand you. I have only a file, no
message with an attachment.

Perhaps you can more explain what I should try (may be my english is
not good enough to understand you, sorry).

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 28 Mrz., 19:07, "Dmitry Streblechenko" wrote:
So did it work after/if you tried my suggestion?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ups.com...
Thank you Dmitry for your answer,

it`s a file I dragged and dropped by the windows explorer.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com

On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:



Do you mean you want to change the file name of an attachment stored by a
document item in Outlook?
Change the attachment file name, save the attachment (RDOAttachment.Save),
then save the parent message (RDOMail.Save).


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Hello,


in this
posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.


Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?


Thanks!
Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com- Zitierten Text ausblenden -


- Zitierten Text anzeigen -



  #8  
Old March 28th 07, 07:18 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Change filename

I probably totally misunderstand what you are trying to do.
Can you explain in detail what you are doing and what exactly you want to
change?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message
ps.com...
Hmm, sorry, Dmitry, I don`t understand you. I have only a file, no
message with an attachment.

Perhaps you can more explain what I should try (may be my english is
not good enough to understand you, sorry).

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 28 Mrz., 19:07, "Dmitry Streblechenko" wrote:
So did it work after/if you tried my suggestion?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ups.com...
Thank you Dmitry for your answer,

it`s a file I dragged and dropped by the windows explorer.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com

On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:



Do you mean you want to change the file name of an attachment stored by
a
document item in Outlook?
Change the attachment file name, save the attachment
(RDOAttachment.Save),
then save the parent message (RDOMail.Save).


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Hello,


in this
posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.


Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?


Thanks!
Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com- Zitierten Text
ausblenden -


- Zitierten Text anzeigen -




  #9  
Old March 28th 07, 08:10 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Change filename

No problem, I try it.

Let`s create a new folder in Outlook from type "email". Then drag a
pdf file from the windows explorer and drop it to the new email folder
in Outlook.

Now you have two properties in Outlook with the name of the pdf file
(for example "doc_x1_q76.332.pdf"). These properties will be shown as
the "ConversationTopic" and the "Subject" of this "olDocument" item.
Ok, with your redemption.dll (thank you) I can also change the write
protected property ConversationTopic (I thought this is the name the
file is stored in Outlook).

If you now add this stored file to a new email as an element, the
original file name is shown there. My customer who asked me this
functionalty wants to change the name of this file to the name of the
subject which he can edit. So if he send this file to a customer, the
customer will not see "doc_x1_q76.332.pdf" as attachment, but
"manual.pdf".

After Ken`s answer I tried to change the attachments file name of a
new email, but it seems that this works not too. So it would be
possible to react to the AddAttachments-Event (if avaible), search the
filename in the email folders and rename it to the subject of this
file.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 28 Mrz., 20:18, "Dmitry Streblechenko" wrote:
I probably totally misunderstand what you are trying to do.
Can you explain in detail what you are doing and what exactly you want to
change?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ps.com...
Hmm, sorry, Dmitry, I don`t understand you. I have only a file, no
message with an attachment.

Perhaps you can more explain what I should try (may be my english is
not good enough to understand you, sorry).

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com

On 28 Mrz., 19:07, "Dmitry Streblechenko" wrote:



So did it work after/if you tried my suggestion?


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Thank you Dmitry for your answer,


it`s a file I dragged and dropped by the windows explorer.


Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com


On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:


Do you mean you want to change the file name of an attachment stored by
a
document item in Outlook?
Change the attachment file name, save the attachment
(RDOAttachment.Save),
then save the parent message (RDOMail.Save).


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Hello,


in this
posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.


Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?


Thanks!
Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com-Zitierten Text
ausblenden -


- Zitierten Text anzeigen -- Zitierten Text ausblenden -


- Zitierten Text anzeigen -



  #10  
Old March 28th 07, 09:56 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Change filename

Ok, my original suggestion still applies. Rename the attachment on the
message created after you drag a file from Window Explorer to an Outlook
folder.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message
oups.com...
No problem, I try it.

Let`s create a new folder in Outlook from type "email". Then drag a
pdf file from the windows explorer and drop it to the new email folder
in Outlook.

Now you have two properties in Outlook with the name of the pdf file
(for example "doc_x1_q76.332.pdf"). These properties will be shown as
the "ConversationTopic" and the "Subject" of this "olDocument" item.
Ok, with your redemption.dll (thank you) I can also change the write
protected property ConversationTopic (I thought this is the name the
file is stored in Outlook).

If you now add this stored file to a new email as an element, the
original file name is shown there. My customer who asked me this
functionalty wants to change the name of this file to the name of the
subject which he can edit. So if he send this file to a customer, the
customer will not see "doc_x1_q76.332.pdf" as attachment, but
"manual.pdf".

After Ken`s answer I tried to change the attachments file name of a
new email, but it seems that this works not too. So it would be
possible to react to the AddAttachments-Event (if avaible), search the
filename in the email folders and rename it to the subject of this
file.

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:
www.outlook-stuff.com


On 28 Mrz., 20:18, "Dmitry Streblechenko" wrote:
I probably totally misunderstand what you are trying to do.
Can you explain in detail what you are doing and what exactly you want to
change?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Peter Marchert" wrote in message

ps.com...
Hmm, sorry, Dmitry, I don`t understand you. I have only a file, no
message with an attachment.

Perhaps you can more explain what I should try (may be my english is
not good enough to understand you, sorry).

Peter

--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com

On 28 Mrz., 19:07, "Dmitry Streblechenko" wrote:



So did it work after/if you tried my suggestion?


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Thank you Dmitry for your answer,


it`s a file I dragged and dropped by the windows explorer.


Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com


On 27 Mrz., 22:58, "Dmitry Streblechenko" wrote:


Do you mean you want to change the file name of an attachment stored
by
a
document item in Outlook?
Change the attachment file name, save the attachment
(RDOAttachment.Save),
then save the parent message (RDOMail.Save).


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"Peter Marchert" wrote in message


oups.com...
Hello,


in this
posthttp://groups.google.com/group/microsoft.public.outlook.program_vba/b...
I changed the conversationtopic because I thougt this is the name the
file is stored in the Outlook folder.


Now I found out that this has nothing to do with the filename. Is it
possible to change the filename of a file which is stored in an
Outlook folder?


Thanks!
Peter


--
Infos, workshops & soft-
ware for your OutlookŪ:www.outlook-stuff.com-Zitierten Text
ausblenden -


- Zitierten Text anzeigen -- Zitierten Text ausblenden -


- Zitierten Text anzeigen -




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot delete Contact Folder Filename CSJ Outlook - Using Contacts 3 October 11th 06 05:51 PM
Filename/location where cached email addresses are kept? 2003 Jim Outlook - Installation 1 October 7th 06 12:18 AM
Outlook 2003 hangs when receiving attachments with non-Western (Simplified Chinese) characters in the filename SSD Outlook - General Queries 1 August 25th 06 09:55 PM
filename too long error Vic Baron Outlook Express 3 August 4th 06 10:49 AM
Get the CID from Attachment Filename chris Outlook - General Queries 2 February 27th 06 07:33 PM


All times are GMT +1. The time now is 02:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright Đ2004-2025 Outlook Banter.
The comments are property of their posters.