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.

Newcomers DBPro Corner / Loading .PNG

Author
Message
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 20th Sep 2006 23:44
Is this possible in DBC? Everytime I try I get a runtime error message..

If you have X-ray vision, can you see through your own eyelids?
D Ogre
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 22nd Sep 2006 02:24
The file format is supported by DBC. What is the error message you're
getting? It could be a bad filename, corrupt file, or incorrect file path
causing your problem.
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 22nd Sep 2006 07:50
"Runtime Error at Line 1, Cannot load bitmap"

I'm using the load image command...



If you have X-ray vision, can you see through your own eyelids?
Ligh
21
Years of Service
User Offline
Joined: 16th Nov 2003
Location:
Posted: 22nd Sep 2006 19:59
is it the right path to the image? i get that error if it cant find the image
Cave Man
18
Years of Service
User Offline
Joined: 22nd Aug 2006
Location: North Carolina, US
Posted: 22nd Sep 2006 20:50 Edited at: 22nd Sep 2006 21:02
Do you have a folder named "Images" in the folder your project is in?

EDIT: Somehow i didn't notice you have DBC. But i'm 99% sure it still applys

D Ogre
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 22nd Sep 2006 23:00
Try giving the entire path to the load image command.

Example:


Personally, I would actually do something like this:


Make sure that the folder containing the image is in the same folder
the DB project is in, if you use the second snippet.
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 23rd Sep 2006 00:43
@Ligh: Yes this is the correct path to the image
@Cave Man: Yes I have a folder named 'Images' in my project folder
@D Ogre: Tried both ways, still gettint the run-time error

If you have X-ray vision, can you see through your own eyelids?
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 23rd Sep 2006 04:37
try using a different .png and in a different folder

Pirates of Port Royale
Live the life of a pirate.
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 23rd Sep 2006 05:42 Edited at: 23rd Sep 2006 08:56
Nevermind, Installing the Enhancement Pack fixed it

If you have X-ray vision, can you see through your own eyelids?

Login to post a reply

Server time is: 2024-11-26 09:39:18
Your offset time is: 2024-11-26 09:39:18