Could anyone tell me how to create a Document link file of a given name - say c:\temp\DocLink.shb using LotusScript from within a button click function.
I have hold of the NotesDocument object, I just can’t see how to create the file from that.
Many Thanks,
Subject: Create Document link file using LotusScript
Do you want to embed the file, then here is an example from Designer Help.
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim rtitem As NotesRichTextItem
Dim object As NotesEmbeddedObject
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
Set rtitem = New NotesRichTextItem( doc, “Body” )
Set object = rtitem.EmbedObject _
( EMBED_ATTACHMENT, “”, “c:\jim.sam”)
doc.Form = “Main Topic”
doc.Subject = “Here’s Jim’s document, as an attachment”
Call doc.Save( True, True )
Subject: RE: Create Document link file using LotusScript
All I want to do is to create the shb file that gets created if you drag an Email onto the windows desktop.
Subject: RE: Create Document link file using LotusScript
Thankyou Stan - The NDL file allows me to do exactly what I want.