hi i will try to open attachment file through lotus script code is–>>
Dim s As New NotesSession
Dim db As NotesDatabase
Dim v As NotesView
Dim entry As NotesViewEntry
Set db=s.CurrentDatabase
Set v=db.GetView("imageEntry")
Set entry=v.GetEntryByKey("1")
If Not entry Is Nothing Then
value=entry.ColumnValues(1)
v1=Strleftback(value,"'ta")
v2=Strrightback(v1,"'/")
v3="http://144.0.24.211/"+v2
Print | <script>window.open("|+v3+|")</script>|
Print |<META HTTP-EQUIV="Refresh" CONTENT="1; URL=JavaScript:history.go(-1)">|
Else
Print | <script>alert("|+ "File doesnot exist" +|")</script>|
End If
But this code is working fine and attachment will be open in another window but i want to open this attachment in same window.This window.open code will be open attachment in another window how to open this in same window