Pasting lotus notes document link in VB RichTextBox control
Hi all,
I am currently working in lotus notes with help of VB. I am new for lotus notes. I have copied the document link from lotus notes template and I have tried to paste the link in RichTextBox. But it fails. The lotus notes logo only presents in the RichTextBox :confused: .
Simply to say is that, I need the copied document link (eg format: notes:///set of numbers/set of numbers/set of numbers; eg link:notes:///65257566003C2844/E7A291052E43215E852567240071E2AD/0FBD41AB85E21B7A6525756B004129CC) in the RichTextBox
Thanks in advance
Baalu Aanand
Re: Pasting lotus notes document link in VB RichTextBox control
this code is for drag n drop in a std textbox, but assume it would work similarly in a richtextbox paste, to determine if the clipboard content is a file or text
vb Code:
Private Sub Text1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
If Data.GetFormat(1) Then ' text
Text1 = Data.GetData(1)
ElseIf Data.GetFormat(vbCFFiles) Then
openfile Data.Files(1)
End If
End Sub