Show bmp on form WinCE 4.2

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

hakan aktan

I can show bmp files on windows form at emulator. But on my device (winCE
4.2) I gives error "Exception".
I found some dll for image but i do not know how to register o r include to
my device. Would someone help me pls.(Coding by .NET Framework 1.1)

Thanx in advance

Hakan Aktan
 
Here is my simple code in Page_Load event
It gives ex.Message="Exception"
------------------
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top