I wasnt sure if this should be in the Window Forms section or here, so here it is. I've got an "About" form that's just a general one that i add to every project. Here's how it's called:
pretty straight forward but on this window i've got a picturebox that simply displays that Icon but with option strict on, it tells me that an "Icon" isnt an "Image"
i did try:
picIcon.Image = CType(Me.Icon, System.Drawing.Image)
but it still tells me that an "Icon" isnt an "Image" what am i doing wrong?
VB.NET:
Dim frmAboutWindow As New frmAbout
With frmAboutWindow
.Icon = Me.Icon
.Title = gstrThisAppTitle
.ShowDialog()
End With
pretty straight forward but on this window i've got a picturebox that simply displays that Icon but with option strict on, it tells me that an "Icon" isnt an "Image"
i did try:
picIcon.Image = CType(Me.Icon, System.Drawing.Image)
but it still tells me that an "Icon" isnt an "Image" what am i doing wrong?