Compiler doesn't accept correct syntax
IT's not possible to compile the following line:
New Icon("MyIcon.ICO", 16, 16).ToBitmap().Save("MyIcon.bmp", Imaging.ImageFormat.Bmp)
must be a bug, doesn't it?
PS: it works with the with-operator:
With New Icon("..\..\Resources\Icons\ViewIcon.ICO", 16, 16)
.ToBitmap.Save("..\..\Resources\Icons\ViewIcon.bmp", Imaging.ImageFormat.Bmp)
End With
best regards,
Gerhard

