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 - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I replace the attachment file when double chick attachment?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old August 3rd 06, 06:37 AM posted to microsoft.public.outlook
[email protected]
external usenet poster
 
Posts: 2
Default Can I replace the attachment file when double chick attachment?

I want to replace the attachment when double chick the attachment. I
use outlook form to do it.
Beause attachment read in outlook is not a cancelable event, I can't do
it directly.

I found outlook always store attachments file in directory:
"%USERPROFILE%\Local Settings\Temporary Internet Files\OLK*".
So if I want to replace the attachment when user double chick the
attachment, I can repalce the attachment file(will display) in that
directory.

I have some test, outlook allow me do that. But I meet two question:
First: the directory is different with each user, I always start with
the work I type before and end with a random value. How can I get the
exactly value of it in vbscript?

Second. When user chick the attachment, outlook will download the
attachment and save to the directory with the name: attachment
filename(number). If I have a attachment name "aaa.txt", it maybe save
with "aaa(10).txt". Can I get the exactly name of it?

 




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
attachment file order Dale Outlook - General Queries 1 June 4th 06 08:48 PM
File attachment Chandra Outlook Express 5 March 15th 06 04:31 PM
Sent Attachment Without File Extension Gerald Boutin Outlook - General Queries 2 March 2nd 06 04:34 PM
sending exel file as attachment Rami Outlook - Installation 1 February 23rd 06 02:51 PM
File attachment folder Patrickm Outlook - General Queries 9 February 7th 06 01:24 AM


All times are GMT +1. The time now is 09:19 AM.


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.