370 Lotus blogs updated hourly. Who will post next?
Home
|
Downloads
|
Events
|
Jobs
|
Twitter
|
Bookmarks
|
Pods
|
Forum
|
Blogs
|
Search
|
myPL
|
About
May 23, 2012, 04:19:51 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Calendar
Login
Register
Planet Lotus Forum
>
Lotus Community
>
Help!
>
exctract file from domino.doc
Pages: [
1
]
« previous
next »
Print
Author
Topic: exctract file from domino.doc (Read 291 times)
0 Members and 1 Guest are viewing this topic.
ghostdogjp
Newbie
Offline
Posts: 1
exctract file from domino.doc
«
on:
October 04, 2010, 12:55:26 PM »
hi , i need a script to save all attachement from a database to disk
the problem is then i working with domino 5.0 and domino.doc 3.1
i get ther error variant as no onject but i didn't see where is the variant could you help me please
i'm sysadmin and not a developer
Sub Click(Source As Button)
Dim w As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
Dim v2File As NotesItem
Dim docitself As NotesEmbeddedObject
On Error Goto ProcessError
Set db = session.CurrentDatabase
Set collection = db.UnprocessedDocuments
Set doc = docs.GetFirstDocument()
' Set dlgdoc =db.UnprocessedDocuments
Set v2File=dlgdoc.GetFirstItem(file$)
filename$=v2File.Values(0)
Set docitself=dlgdoc.GetAttachment(filename$)
FilePath$=("d:\extract\" & filename$)
Call docitself.ExtractFile(FilePath$)
didDetach%=True
Exit Sub
ProcessError:
Messagebox Error$()
Exit Sub
End Sub
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lotus Community
-----------------------------
=> The Soap Box
=> Help!
-----------------------------
Planet Lotus
-----------------------------
=> General Information
=> Suggestion Box
=> Change Log
Loading...