Show bitmap on form at windowsCE 4.2

  • Thread starter Thread starter hakan aktan
  • Start date Start date
H

hakan aktan

I can show image on form at emulator but can not on my device.
Here is my simple code in Page_Load event
It gives ex.Message="Exception"

Thanx in advance
------------------
Try

Dim bmp As New Bitmap("\windows\windowsce.bmp")

PictureBox1.Image = bmp

Catch ex As Exception

MsgBox(ex.Message)

End Try
'-----------------------I am sure file exists .

Hakan Aktan
 
No it does not have this dll in windows folder .It has imgutil.dll inside
it. . I found imgdcmp.dll inside Platform Builder but i do not know how how
to register it for my applications.

I use .NET 2003 and VB language at coding.
 
Back
Top