Save an attatchment (olAtt.SaveAsFile)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When i use olAtt.SaveAsFile to save a file, it allways asks me if i want to
save the file (confirmation).

As this is an automated procedure, i do not want to be asked if i want to
save it.

Question: Is it possible to add something, so that nothing is beiing asked?

Thanx

Hans Komst

vb: 'save the attachment
olAtt.SaveAsFile FILE_PATH & item.EntryID & "_" & olAtt.FileName ......
 
As far as I'm aware, there isn't a SaveAsFile option in Access, the database
product that's part of Office Professional, and the subject of this
newsgroup.

What is olAtt? (i.e.: how have you instantiated it?) Perhaps its SaveAsFile
has a parameter that will let you suppress the prompt.
 
Back
Top