
Problem with StatusBar control setting Picture property
I am trying to set the picture property on a panel object of the
StatusBar control. I try using the LoadPicture function to do so and am
getting a err=13 Type mismatch. The help file explicitly suggests using
the LoadPicture function. The style property is set to zero (Text or
bitmap). Any have a workaround for this??
sample of my code:
StatusBar1.Panels(1).Picture = LoadPicture("Party.bmp")
Thanks
Joe Sytniak