M
maneeshkhare
I am trying to embed a .txt file in a ppt slide in C#. This is the
code I am using:
slide.Shapes.AddOLEObject(
150, 150, 480, 320,
"Text",
missingNeighbourFileName,
MsoTriState.msoFalse,
"",
0,
"",
MsoTriState.msoFalse
);
where 'missingNeighbourFileName' is the string var holding the absolute
path to the .txt file. I am continously getting this exception:
"Shapes (unknown member) : Invalid request. "
Could anybody tell me what I am missing?
Thanks in advance.
Maneesh
code I am using:
slide.Shapes.AddOLEObject(
150, 150, 480, 320,
"Text",
missingNeighbourFileName,
MsoTriState.msoFalse,
"",
0,
"",
MsoTriState.msoFalse
);
where 'missingNeighbourFileName' is the string var holding the absolute
path to the .txt file. I am continously getting this exception:
"Shapes (unknown member) : Invalid request. "
Could anybody tell me what I am missing?
Thanks in advance.
Maneesh