Tips to make this more useful/complete
1. make it so it doesn't matter it the .bmp is or isn't added to the file, use right$(filetoconvert,4) to check if its got the .bmp on the end then read the left portion to get the name without. Asking the users to not include the .bmp bit at the end is a little silly.
2. Make it resize the image to be the right size for an .ico file, by making a bitmap (craete bitmap) setting the screen to it (set current bitmap), loading the image, making a sprite of the image, resizing the sprite (size sprite), pasting the sprite, then capturing the image "get iages" and "save bitmap" then rename it.
3. If you are ging to have an interface, make one. If not, make it a commandline program
I'm not flaming, I'm just giving suggestions that will a: make this more useful, and b: help you learn important db programming techniques.
If any of the commands aren't available in db 1.0 I apologise I haven't used it for a LONg time