>Dear Naomi,
>
>While adopting your function, now every thing work fine.
>
>But here is another problem
>I encluded all bmp and jpg files in project.
>When I run exe then no image is displayed on buttons such as printer.bmp on Print button.
>
>Actually I do not want to distribute GRAPHICS folder to clients.
>
>Please help
Make sure to include all bmps and icons to your project. On the buttons select them (the full path would be saved). Yet it should be resolved automatically in run-time.
If it's not broken, fix it until it is.
My Blog