Picture1.BackgroundImage = img.ARGBData.Picture(w, h)
Unable to cast COM object of type 'System.__ComObject' to class type 'System.Drawing.Image'. Instances of types that represent COM components cannot be cast to types that do not represent COM components; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)