Hi,
I want to embed a file (displayed as an icon) into a Word Document (VB6).
I use the WordDocument.Shapes.AddOLEObject method.
My problems are :
-the file is never really embedded : it always acts as a Link to the file (even if I set the "Link" parameter to False explicitly)
-I can't position it at the current insertion point : the file always sticks to the top of the page.
I almost never work with Word so it's not easy to understand the options of the AddOLEObject method (Shapes, Anchor,...)
Can someone tell me how to do it right ?
Thanx in advance.
Lemox
I want to embed a file (displayed as an icon) into a Word Document (VB6).
I use the WordDocument.Shapes.AddOLEObject method.
My problems are :
-the file is never really embedded : it always acts as a Link to the file (even if I set the "Link" parameter to False explicitly)
-I can't position it at the current insertion point : the file always sticks to the top of the page.
I almost never work with Word so it's not easy to understand the options of the AddOLEObject method (Shapes, Anchor,...)
Can someone tell me how to do it right ?
Thanx in advance.
Lemox