Hi guys, I am looking for a code to embed outlook Email file(.msg) also .eml file into Word document…
I had been trying up below code but it is not helping me out…
Dim Doc As Document = New Document()
Dim Fs As FileStream
Fs = File.OpenRead("C:\Tmp\testemail.msg")
Dim objOLE As Shape
objOLE = stringBuilder.InsertOleObject(Fs, "Outlook.File.msg.14", True, Nothing)
Fs.Close()