I did not create the OLE control so I don't know what control was selected.
It was created many years ago by someone else who is no longer with the company.
Is there no place the control that was selected is stored?
Can you selected multiple controls? or does it support all the controls that are displayed?
I am simply debugging it to see why it isn't working.
I can tell you that in the window we can select may different file types (.doc, .txt, .xlsx, .pdf, jpg etc) and that the window does
an ole.Insertfile() and then stores the blob returned from ole.ObjectData.
When the window opens the file the blob is then retrieved and put in ole.ObjectData and then it does an ole.Activarte(InPlace!) to display the file.
All the other file types seem to work except for .pdf files. It seems to be something local to my PC because it is still working in production (I think).
Have a look at he OLE Control's "Properties" that you are using in the appropriate painter.. In there should be the class name of the OLE object being used within that container. HTH
Regards .. Chris