>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.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison