How can I reference a file into ActiveX object for RichTextBox

  • Thread starter Thread starter Daszbin
  • Start date Start date
D

Daszbin

Guest
So this is a problem for me I am trying to add ActiveX object to the richtextbox which I can do however if I want to reference a word file how can I access the word file before inserting the ActiveX. I read this article on codeproject

Inserting images into a RichTextBox control (the OLE way)”



i referenced the richtextbox as such

richtextbox.InsertActiveX(“Word.Document.12”);

but it’s its empty no file so I need to use a openfiledialog then select the file and then reference it back to insert Active X to show the file so it’s no empty.

Continue reading...
 
Back
Top