If you add a Word file as a Resource to a project, how do you then open that file from within your code? Not like this, at least:
I cant figure it out. It was so easy in VB6 with an OLE container. Grateful if someone can tell me.
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New Word.Application
p.Visible = True
p.Documents.Add(My.Resources._2002_AGM_Minutes)
End Sub
End Class
I cant figure it out. It was so easy in VB6 with an OLE container. Grateful if someone can tell me.
Last edited by a moderator: