What causes err 481?

J

jsh02_nova

I'm writing a stored bitmap to a temp file and then using the line to load a
command button with a bitmap:
ctl.Properties("Picture") = LoadPicture(sTempFile)

This causes the error 481 Invalid file. The bitmap looks fine in mspaint.

Does anybody have any ideas?

thx
-jsh
 
Top