Thanks Nick I will try using ="Bmp\MyBitmap.Bmp" instead.
A previous user said that the class designer was only storing the relative path. However I do not think this can be true because if I copy the vcx files to a different location it remembers path names from other projects on different computers.
Thanks
Simon
>>Hi
>>
>>When I attached a bimap to a command button the class designer always inserts the full path name including the drive. This does not make the code very portable. Even if I enter Bmp\MyBitmap.bmp I find that it later changes the entry to "MyDrive:\MyFolder\Bmp\MyBitmap.Bmp". How can I ensure that only relative paths are used?
>>
>>Thanks
>>Simon White
>
>Simon, put
>
>="MyBitmap.Bmp"
>
>into .Picture property and it will take care of that.
Simon White
dCipher Computing