G
Guest
Hi,
I just made a simple smartdeviceapplication with a toolbar, consisting of a
zoom in button and a zoom out button. That's all.
I dragged an ImageList to the Form and add the images I created to the
ImageList. Then I dragged a toolbar control to the Form and added the
imageList to the Toolbar (That's how it's explained in the book .Net CF Core
Reference from Microsoft Press). I created 2 buttons for the toolbar,
referencing them to index 0 and index 1 of the imageList for the icons.
It builds perfectly. But when I run in on my device (HP hx4700):
"
SmartDeviceApplication3.exe
Exception
MISC::HandleAr+0x5b
ImageCollection::Add+0x2e
Form1::InitializeComponent+0x89
Form1::ctor+0xc
Form1::Main+0xa
"
When I remove the connection between the imagelist and the toolbar it works
(but offcourse the buttons of the toolbars don't have icons).
I Tried both .gif and .bmp but that shouldn't matter normally
What could the problem be? Thx!
I just made a simple smartdeviceapplication with a toolbar, consisting of a
zoom in button and a zoom out button. That's all.
I dragged an ImageList to the Form and add the images I created to the
ImageList. Then I dragged a toolbar control to the Form and added the
imageList to the Toolbar (That's how it's explained in the book .Net CF Core
Reference from Microsoft Press). I created 2 buttons for the toolbar,
referencing them to index 0 and index 1 of the imageList for the icons.
It builds perfectly. But when I run in on my device (HP hx4700):
"
SmartDeviceApplication3.exe
Exception
MISC::HandleAr+0x5b
ImageCollection::Add+0x2e
Form1::InitializeComponent+0x89
Form1::ctor+0xc
Form1::Main+0xa
"
When I remove the connection between the imagelist and the toolbar it works
(but offcourse the buttons of the toolbars don't have icons).
I Tried both .gif and .bmp but that shouldn't matter normally
What could the problem be? Thx!