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 / Problem making EXE file.

Author
Message
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 23rd May 2009 13:45 Edited at: 23rd May 2009 19:52
Hey,
literally just installed DBP, and i was looking through the demo projects that come with it, and i after a while i found the a couple buttons that looked like it'd run it; F6 (debug) and F5.

when i pressed debug, it loads all the way to the end of " building executable " then stops.

when i press F5 to actually run the EXE i get this error message:



i thought that there might be something wrong with the projects for some reason.


so i wrote the hello world script;




and when i press F5 i still get this error, but when i press F6
a black screen comes up with Hello world, so i'm guessing that this is right.

help appreciated.
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 23rd May 2009 15:07
i'm not sure, but try running it in Administrator mode. this might help because otherwise teh DBP editor cannot write to Program Files. try saving a project to your desktop ad running it there, i think then it'll work. so you could just run it everytime as admin, or switch of UAC

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 23rd May 2009 19:46
i did think of this earlier, and i did run as admin.

i'm gonna reinstall, just incase something f'ked up.


^^,


if that don't work i'll try moving the project to desktop or something, and it that don't work i'll post again.

if it works i'll reply with what i did.
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 23rd May 2009 23:40
still not working.

i uninstalled, then downloaded the trial version, which kinda works, it runs programs fine, but when i try to run a program i made, it says that Directx 9 isn't installed.. when i have Directx 10
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 25th May 2009 15:42
help?
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th May 2009 17:16
You can install DirectX 9 alongside DirectX 10. I'm pretty sure this is the same one I downloaded to a friends computer to get one of my Darkbasic programs to work.

http://www.microsoft.com/downloads/details.aspx?FamilyId=519AAE99-B701-4CA1-8495-39DDDE9D7030&displaylang=en

bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 25th May 2009 17:38
on filehippo.com they have the good one also

Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 25th May 2009 19:19
Quote: "You can install DirectX 9 alongside DirectX 10. I'm pretty sure this is the same one I downloaded to a friends computer to get one of my Darkbasic programs to work.

http://www.microsoft.com/downloads/details.aspx?FamilyId=519AAE99-B701-4CA1-8495-39DDDE9D7030&displaylang=en
"


limited bandwidth ftw.
but f' it.. i'll download ~450mb

ISP would be doing me a favour cancelling me. Can finally break contract ¬¬


i'll post again if this works ^^,
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 25th May 2009 20:56
~450mb later..

still nothing ¬¬

am i doing something fundamentally wrong?

is there a log or something i can c+p?
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 25th May 2009 22:19
Getting pretty pissed now.



i get this now.

tbh, this is just wasting my time now..
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 26th May 2009 02:32
I'm sorry it's giving you a hard time but stick with it... it's worth it. But if you no longer get a DirectX error you should try a smaller program like your Hello World program.

Is it taking forever to compile?

Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 26th May 2009 13:50
Quote: "I'm sorry it's giving you a hard time but stick with it... it's worth it. But if you no longer get a DirectX error you should try a smaller program like your Hello World program.

Is it taking forever to compile?"


DarkBasic is something i really do want to start getting into properly.

It's not compiling at all, the activation box is stopping it from compiling.


The bigger program is something someone else sent me that they made ( a super mario-like game )

The hello world program works fine though, so im not sure what's going on really to be honest =/
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 26th May 2009 18:19
the activation window is blocking the exe from building, when i click the X on the activation window, it stops building exe


and it wont build the exe because of the activation window ¬¬
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 27th May 2009 23:16
hm. =/
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 31st May 2009 17:37
used some skills to install vortex xp.

gonna make it a secondary boot, so i'm gonna install dark basic onto that.


i'll reply again if this works


if it doesn't im gonna be pissed ¬¬
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 31st May 2009 21:32
S'cuse me for being an idiot here, but....have you actually activated DBPro?

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001
Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 31st May 2009 21:35
yes..

also, it seems to be working now on XP

but im getting an error saying that it can't load the image O_o
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 31st May 2009 21:37
Quote: "It's not compiling at all, the activation box is stopping it from compiling."


That's weird... once it's been activated you shouldn't see that window at all. At least in the full version you never see that window when it compiles.

Maybe it's that program... try some of the code you see around the forum. Something more advanced than "Hello World" but less than the one your trying to run.

Pea Noose
15
Years of Service
User Offline
Joined: 23rd May 2009
Location:
Posted: 1st Jun 2009 21:58
Quote: " That's weird... once it's been activated you shouldn't see that window at all. At least in the full version you never see that window when it compiles.

Maybe it's that program... try some of the code you see around the forum. Something more advanced than "Hello World" but less than the one your trying to run.
"


Cheers d00d.

will do ^^,


thanks for everyones help.




to conclude, i fixed the errors by installing a second OS, with vista being my primary, and XP being my secondary.


vista ftl ¬¬
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 1st Jun 2009 22:32
good you sorted it out. vista sucks though, can't wait for Windows 7

*ding ding*

Login to post a reply

Server time is: 2024-11-25 06:36:27
Your offset time is: 2024-11-25 06:36:27