Forum Discussion

panka152's avatar
panka152
Contributor
14 years ago
Solved

can not access ole properties of mspaint application

Hi, I am trying to access ole properties of mspaint application but it always throw an error 'invalid class string:cannot obtain class ID'. At properties page I have clicked 'param' button avail...
  • HKosova's avatar
    14 years ago
    Hi Pankaj,



    AFAIK, Paint doesn't have a COM/OLE interface, so there's no "MSPaint.Application".

    Microsoft Office applications — Word, Excel, Access etc. — do have COM/OLE automation interfaces, but standard Windows apps, such as Paint, Notepad or Calc, don't have them.