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 Discussion / Acces to windows gui without any dlls , with only Dark Basic classic ! (without enchansement)

Author
Message
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Jan 2006 03:17 Edited at: 9th Jan 2006 03:18
This is a program i made to acces windows gui using db Classic without enchansement pack , here is the link to the whole thing

[href]www.freewebs.com/dodica/Windows%20gui%20operator.zip[/href]
(you need to download it , and copy it to your project`s folder)
(if the link doesn`t work , copy adress into adress bar and hit go or press enter)
-----------------------------------------------------------------
FOR NOW IT ONLY SUPPORTS ALERT BOX SHOWING (alert box is also known as message box)
, BUT I AM PLANNING (ALREADY DID) ON PUTTING INPUT BOX , And many stuff like that , YES OR NO PROMPT (WITH OPTION OF CODDING WHAT WILL HEPEN IF YES IS PRESSED AND WHAT IF NO IS PRESSED)
------------------------------------------------------------------

And here is the code you NEED to use it in your project :






Change the title string to change window (message box) title , and text string to change the message .

Soon i`l make it more powerfull to be able to acces many more parts of windows gui ..


Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Jan 2006 04:01
So you saw this message 5 hours ago...

http://forum.thegamecreators.com/?m=forum_view&t=69067&b=1

And decided to take Neos code and make an .exe with the Pro Trial. Then you post this message to let everybody know you've done something wonderful by yourself.

If they really want that ability all they have to do is get Pro.


Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Jan 2006 04:26 Edited at: 9th Jan 2006 04:28
Nope , this has nothing to do with dbpro , this is for DBCLASSIC , so you don`t have to have any enchansements or anything to get aces to that.


And you should really take a look at how much the codes are similar (i took his code..ha???).



So you`r wrong , this ain`t made in dbpro at all , nider in db , it`s made SO EVERYONE CAN USE IT TO ACCES MESSAGE BOX/ALERT WINDOWS IN DB WITHOUT ENCHA...(ouh .. i`m tired of writing it again..)

So did you get the point at all ?


I just hate when people accuse me...my Sharky Logo turns red and stays that way..


Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Jan 2006 05:23 Edited at: 9th Jan 2006 05:34
I decided to download it and it doesn't look like it's written in Pro... sorry.

It would be nice though if it actually worked... I used the .dba file in the .zip (I had to add code to delete the files if they already existed).

I attached the error message I got using your .exe.

Edit: It looks like the only way to run it properly is to do this:


It does look pretty cool when you move the new window around in front of the Darkbasic window.


Attachments

Login to view attachments
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Jan 2006 05:27
It works offcourse , becouse you NEED to have all files , start the dba file (with db classic-not sure if dbpro works) , and you must not left title$ and text$ empty , and it must vork , why it doesnt..i don`t know ,maby becouse of pro , let me try with my demo...hm..works in dbpro..

(but you need to save the file as dbpro`s)

I don`t know why it doesnt work...

does it work on anyones computer...??


(and DONT add the code to delete the files if they already existed , that code musn`t be there)


Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Jan 2006 05:36 Edited at: 9th Jan 2006 05:41
I did it in Classic. Anytime you write a file with Darkbasic the file cannot exist before you write it. Those files already existed in your .zip file.

I edited my last message (the one before this one) with the solution.


Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Jan 2006 05:52
ok with me (if that works) ..




p.s. (try the same with dbpro -i mean my code wihtout deleting or editing anything , and say if it works) (yeah , the code isn`t for dbpro-otherwise it would have no purpoise (already many dlls and stuff for it) , but just for mee to see something..)


Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Jan 2006 06:04
It should work fine in Pro also because it's just running an external program.

Is that .exe made with "Just Basic"? I found that url in the .exe.
http://www.justbasic.com/


Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 9th Jan 2006 06:11
yeap , it is.


Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 10th Jan 2006 03:21
so i guess noone want`s to use windows gui in their dark basic classic`s without any need of encansements . . ?


new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 03:22
welcome poeple.

ok here we are. stupid awesome new thread...

new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 03:23 Edited at: 10th Jan 2006 03:26
SWEET!!!
LOOK MANY HELPFULS!!!


check out my new thread(why? its secret!! no access but from here):

http://forum.thegamecreators.com/?m=forum_view&t=69155&b=20

new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 03:34
hmm...

got runtime error.

new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 03:34
heeeellllooooooo???

new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 03:40
wait!! i sohuld make my own...

i'm working on DarkSCRIPT scripting language for DB,

like:

[DARKSCRIPT START]
messagebox("TITLE","TEXT","OK button text");
loaddll("NAME.DLL",MyDLL);
callDLL(MyDLL,"poo()");
[DARKSCRIPT END]

or something...

x1b
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 10th Jan 2006 04:07 Edited at: 10th Jan 2006 04:10
Quote: "I just hate when people accuse me...my Sharky Logo turns red and stays that way.."


wack job.......

I think i'll make a Dog Logo. And everytime someone offends me, he humps your leg. And everytime someone accuses me,he'll sh*t on the rug...and stay that way

- Do it, Do it Right, Do it right now..
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 10th Jan 2006 04:11
hehehe...he


new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 10th Jan 2006 18:55
hey, dodic, could you fix those errors? says couldnt open for riting. maybe if you renamed them to .txt?

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 10th Jan 2006 19:14
nope...i know what`s the error , and i CAN fix it , but it`l take some time (anyways it looks like noone`s interested , so that shouldnt represent a problem )


Login to post a reply

Server time is: 2025-05-23 00:34:35
Your offset time is: 2025-05-23 00:34:35