Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

PreviousPrevious NextNext


Peter Cong 12.Jan.09 08:49 AM a Web browser
Domino Designer 6.5.6 Windows XP


HI,
I include these codes in my agent to deal with attachment and re-save document. but it works when run it manually. it does not work when run it scheduelly, the document can not be saved from backend.
I think the schedule agent can not recognize the c drive, but manually run can.
Does anybody have any idea to let schedule agent to recognize the local c drive? Thanks a lot,


Forall f In docA.Items
Select Case f.Type
Case 1084
Set obj=docA.GetAttachment(f.values(0))
If Not obj Is Nothing Then
If newcorpdoc.GetAttachment(f.values(0)) Is Nothing Then
Call obj.ExtractFile("c:\"+f.values(0))
Call rtitem.AddNewLine(1,False )
Set object= rtitem.EmbedObject( EMBED_ATTACHMENT, "", "c:\"+f.values(0))
Kill "c:\"+f.values(0)
Call obj.Remove
End If
End If
End Select
End Forall






Why my codes get different result f... (Peter Cong 12.Jan.09)
. . RE: Why my codes get different resu... (Stephen M Chris... 12.Jan.09)
. . . . RE: Why my codes get different resu... (Peter Cong 12.Jan.09)
. . . . . . RE: Why my codes get different resu... (Stephen M Chris... 12.Jan.09)
. . . . . . RE: Why my codes get different resu... (Paul K Smerdon 12.Jan.09)
. . . . . . . . RE: Why my codes get different resu... (Peter Cong 12.Jan.09)
. . . . . . . . . . RE: Why my codes get different resu... (Attila Peter 12.Jan.09)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite