LOAD IMAGE "C:\Program Files\Dark Basic Software\Dark Basic\myproj\
experiment",1
See what you put there?
You are telling DB to load an image file called
experiment. It won't (or shouldn't) exist because images usually have an extension which tells programs what type of image they are. Examples:
experiment.jpg
experiment.bmp
experiment.gif
experiment.png
My guess is that your Windows is misleading you by hiding the file's extension - and therefore the true filename.
In Windows Explorer, right click on the file you
think is called 'experiment' and choose properties. This will show you the true filename - most probably experiment.jpg or experiment.bmp.
You can also make your life easier by doing the following:
1. In Windows Explorer, on the menu go to Tools..Folder Options.
2. Click on the View tab.
3. Scroll down the Advanced settings window until you see 'Hide extensions for known file types'.
4. Remove the tick from the box on that line (if there is one).
5. Click the OK button.
If you now go back to the folder where the image is, you should now see the real filename.
And finally, as I said before, you are much better off copying the image to the folder where your program is. You can get rid of all that C:\Program Files\Dark Basic Software\ stuff and replace it with just the image filename. As in:
LOAD IMAGE "experiment.jpg",1
TDK_Man