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 / Load image.

Author
Message
Glenash
15
Years of Service
User Offline
Joined: 9th Nov 2009
Location:
Posted: 9th Nov 2009 17:45
Hi in DB Pro im trying to load a .PNG image from my desktop but whenever i try to compile the program it just gives me an error, i'll post the error in a while.
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 9th Nov 2009 22:07
it'd be helpful to see some code.

I think in this instance then you should use an absolute path, but be aware it will only work on your pc.

A better solution would be to store the file in a folder in your project folder and load it using a relative path like...

Load image "files/image.png",1

Without Music or Love the world would be a very empty place... Thank god I still have music.. --'-<@

Login to post a reply

Server time is: 2024-11-24 01:09:13
Your offset time is: 2024-11-24 01:09:13