Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / my bitmaps wont load onto db can someone help me plz

Author
Message
mr smily
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location:
Posted: 8th Jan 2005 08:34
hi
im devan
whenever i type in somthing like
load bitmap "tank.bmp",1
then when i run the program it says file does not exist!
even if the bitmap does!
any help would be appreciated
thx
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 8th Jan 2005 10:32
is the file in the same working directory as your project?

is the file really a .bmp file or something else like .jpg or .png?

miki
20
Years of Service
User Offline
Joined: 7th Jan 2005
Location:
Posted: 9th Jan 2005 20:55
hi,

maybe you are deleting the bitmap later on in the program

regards
miki

in the end
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 11th Jan 2005 01:39
dont save it onto my pictures, save it where ur program is

"Well, if he dies, it'll teach him not to do it again." - Me
Jerry
20
Years of Service
User Offline
Joined: 10th Jan 2005
Location:
Posted: 11th Jan 2005 01:57
If all else fails, try putting the exact location of the picture. For example LOAD BITMAP "C:\project\images\tank.bmp", 1. I the picture is in a subdirectory that the project is in, simply LOAD BITMAP "images\tank.bmp",1 should work (however, this seems to have problems on my computer).

I'm a new member and for some reason, I've gotta wait till an admin to approve my message :S. So by the time you see this, these ideas may or may not have been mentioned already.

Login to post a reply

Server time is: 2025-05-24 19:52:57
Your offset time is: 2025-05-24 19:52:57