If that command gives you that error then you need to uninstall, reboot, and reinstall Darkbasic.
That code works fine but you need to change it a bit for it to actually work. The first thing is the " ' " is not a remark (it's "rem" or "`"). And if you use "load bitmap" with ",1" it creates a new bitmap that cannot be seen by the user. To go back to the normal screen (to be able to see the results) you need "set current bitmap 0".
This is the way the code should look:
`Initialize the program
HIDE MOUSE
CLS
`Load the source bitmap file
LOAD BITMAP "lol.bmp", 1
`Grab image 1 from bitmap
GET IMAGE 1,0,0,300,300
` Go back to the normal screen
set current bitmap 0
`Draw the sprite
SPRITE 1,170,90,1
`Wait for keypress
WAIT KEY
END
Where did you find that tutorial anyway?