Ok am using VB5 SP3.
Start a project, and load a checkbox to the form.
Set the propriety 3d/Flat to flat.
Set Style to Graphical.
Load a graphic, (bitmap, GIF) to the Picture property
Run, not a problem
Set the Picture property to none, and load the grpahic via code in the Form Load Event.
Run, program falls over with a data type error
Is this a bug or am l doing something wrong with the code
chkbox.Picture = App.Path & "\shutdown.gif"![]()
![]()
This is really srewy.
Thanks in advance for any advice.





Reply With Quote