Hello.
I want to display a icon in an image control. For this I'm writing code as:

Code:
ImgPreview.Picture = LoadPicture(CmDialog.FileName, vbLPCustom, , 28, 28)
But it says, the picture is invalid.