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 Professional Discussion / I got a runtime error could not load image at line 37

Author
Message
Unseen Ghost
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 7th Jul 2003 01:23
Hi,

I tried to run my tic tac toe program I am working on and I am getting a runtime error that says:

Runtime error could not load image at line 37

I think that I copied the bmp file to the project folder the right way. I clicked on the media tab in the bottom right corner and hit add then I put the check mark in the box so that it would copy to the project directory. After that I tried to run the program for the first time and that is when I got the error. Can anyone help.

UnseenGhost
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 7th Jul 2003 02:11
Look in the project folder to make sure the image is actually there.
I just copy the media to the projects folder by hand then add them to the project with the media tab. There might be a bug in the editor.
Unseen Ghost
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 7th Jul 2003 02:50
I looked and the files are there. I will try to do it the way you do it to see if it will work.

UnseenGhost

The Wendigo
23
Years of Service
User Offline
Joined: 13th Sep 2002
Location: A hole near the base of a tree in the US
Posted: 9th Jul 2003 05:44
tic tac toe.bmp? ee! I'd avoid filenames like that. Go with "tictactoe.bmp" That might do better. I think I had problems with long filenames once (mainly spaces).

Current Projects: Game Spawn 85%, mini BSP maker 50%, Height Mapper with many features 75%, Space Tactical (Like BC300AD) 15%.
Unseen Ghost
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Ohio
Posted: 11th Jul 2003 03:12
I forgot to take the spaces out when I made the file name. I will remember next time.

I did get things to work. I had the wrong name loading in my program.

UnseenGhost

Login to post a reply

Server time is: 2026-07-18 07:30:58
Your offset time is: 2026-07-18 07:30:58