donderdag 16 september 2010

Replacement for Support.ImageToIPictureDisp Method

Do you get the next warning? Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Then you've got to replace the method call to 'Support.ImageToIPictureDisp' with the next call:

AxHost.GetIPictureDispFromPicture. Remember to remove the reference to Microsoft.VisualBasic.Compatibility!

Geen opmerkingen: