I use InsertOleObject to embed a pdf or excel, but then the object cant be opened. It seems like it has something to do with the progId parameter. How do I know what the progId should be for lets say a pdf, excel, or powerpoint? When I try with InsertOleObject(stream, “AcroExch.Document.7”, true, null);
it inserts, but when I try to open the embedded pdf I get
When I insert a pdf from word itself it inserts as Acrobat.Document.DC