Setting the variable to a .bmp file will show correctly

trying to set it to any other format, the picture doesnot show

MSR(0) = "\Storage Card\GeoSplash\GeotirBlk.bmp"
shows OK

MSR(0) = "\Storage Card\GeoSplash\geotir1.gif"
Shows a blank area set by the NSCEPictureBox.NSCEPictureBoxCtrl.1 object

Code that I am using:


AddObject "NSCEPictureBox.NSCEPictureBoxCtrl.1","GeoL",60,40,411,160
GeoL.ImageLoadBufferSize = 4096 ' added this from tech note 13
GeoL.ScaleMode = 3 ' pixels
GeoL.BorderStyle = 0 ' none
GeoL.Picture = MSR(0)


The .gif file is 411 pixels wide x 160 pixels high

Any suggestions?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to