View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kirkm[_8_] kirkm[_8_] is offline
external usenet poster
 
Posts: 166
Default LoadPicture fails

Hi,

I have an image control on a Form and load the pictures with
the command:

Form1.img1.Picture = LoadPicture(MyPicture)

A click on the form correctly assigns the
next picture filename (and Path) to MyPicture and you see each picture
in succession.

However, if the image is clicked on, the next picture(s) isn't shown.
The code still executes, with all the correct parameters for MyPicture
but the LoadPicture instruction just seems to be ignored. I can step
through and see this, and it occurs every time.

There's no click event (or anything else) coded for the img1 control.

Anyone know what's happening here? !!

Thanks - Kirk