Hello,
i would like to automaticly add location documents to Notes 6.5 is that posible? and if it’s possible then how?
Richard
Hello,
i would like to automaticly add location documents to Notes 6.5 is that posible? and if it’s possible then how?
Richard
Subject: automatic add location documents
I’m not sure what you mean by automatic, but you can send users an email with a hotspot button that runs the following code that creates a location document in the background.
Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.GetDatabase("", "names.nsf")
Set doc = db.CreateDocument
doc.Type = "Connection"
doc.ConnectionType = "0"
doc.Destination = "CS_NOTES"
doc.LanPortName = "TCPIP"
doc.ConnectionLocation = "*"
doc.OptionalNetworkAddress = "10.1.2.35"
doc.Form = "local"
Call doc.ComputeWithForm(False, False)
Call doc.save(True, True)
Msgbox "Connection created"
End Sub