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 / pasting images

Author
Message
Nunez12
18
Years of Service
User Offline
Joined: 29th Dec 2005
Location:
Posted: 31st Dec 2005 23:56
i know that you have to put, load image "filename.bmp",1
but, when i try to do this i tells me that this file doesnt exist, am i suppost to put this file in dark basic, because i have it on my desktop, if so how? I've tried and i dont know how to put it into the darkbasic files, i cant find them even
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 1st Jan 2006 00:37
The file needs to be in the same directory as your code (to make it easy)... otherwise you have to add the path.



Or like this if you want to use the directory the code (or .exe) is in and have a directory called "media".



Loading the image and pasting it are two different commands. Once the image is loaded you can paste it with "paste image imagenumber,x coordinate, y coordinate".


Login to post a reply

Server time is: 2024-09-24 11:28:09
Your offset time is: 2024-09-24 11:28:09