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 / Text editor made in DB

Author
Message
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 20th Sep 2003 21:17
Hi,
I need a text editor that is coded in DB...just a place to enter text.
I need to be able to use the arrowkeys to move the cursur and i need to be able to add/change/remove lines

All help would be greatly appreciated

The rock has rolled!
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 21st Sep 2003 00:47
hello?

The rock has rolled!
Preston C
23
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 21st Sep 2003 00:52
You dont need one, you already have one, and its more efficient than Dark Basic, its called Notepad


Dark Basic Pro has arived! I can feel the power!
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 21st Sep 2003 00:59 Edited at: 21st Sep 2003 00:59
I need one in a program im making! }:- (

The rock has rolled!
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 21st Sep 2003 01:16
It isn't easy or practical to make a text editor in DB or DBP. I tried it once. It isn't pretty. The best way would be to make the program in VB, or make a DLL to do it with windows. RobK already made a plugin for this actually. It has alot of windows stuff like radio buttons, textboxes, etc. It costslike $12 though.

"All programmers are playwrites and all computers are lousy actors" -Anon
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 21st Sep 2003 03:50
Does anyone know of a DLL that has a text editor feature?

The rock has rolled!
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Sep 2003 03:52
Quote: "make a DLL to do it with windows. RobK already made a plugin for this actually"


Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 21st Sep 2003 03:56
I ment to put in the word "free"

The rock has rolled!
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Sep 2003 04:24
lol

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 21st Sep 2003 04:51
tell us more about what your trying to do. there may be a way to do it in java if you do not mind it being in it own window.

--Dr 0--
Preston C
23
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 21st Sep 2003 04:55
I'd think he wants to make an IDE in Dark Basic, finally fed up with the old one ey?


Dark Basic Pro has arived! I can feel the power!
Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 21st Sep 2003 05:34
ever one what a new IDE for DB and DBpro.
WarHunterX
23
Years of Service
User Offline
Joined: 25th Mar 2003
Location:
Posted: 21st Sep 2003 06:59
If you are making an IDE, dont waste your time. I cant even imagine an IDE that needs DirectX to run. Itll be slow and unresponsive. So just stop now (if you are attempting), unless youre doing it to learn.
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 21st Sep 2003 22:30 Edited at: 21st Sep 2003 22:30
Im not making an IDE
Im not that stupid (although I might be close)!!

I need to be able to edit a text file...I need it so when I press a key it saves as something (NOT the windows save box...i want it so it prompts you for a file name, and saves it in a sepecified directory)and it closes and goes back to the program...
I don't care if its in a seperate window I just need whats listed above!!!

The rock has rolled!
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 22nd Sep 2003 01:30
anyone?

The rock has rolled!
Magefire
23
Years of Service
User Offline
Joined: 20th Feb 2003
Location:
Posted: 22nd Sep 2003 02:22
If you've got VB (Visual Basic), just make a program in that and use one of the commands in DBPro to execute the file. If you are using Microsoft Visual C++ or Java, just use an edit control.

If you give a man some fire, he will be warm for a day. If you set a man on fire, he will be warm for the rest of his life.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Sep 2003 02:47
TDKMan has a file requester available here : http://www.matedit.com/download.htm

I have a slightly dodgy single line editor that I'm about to revise and that's the nearest I know of to a text editor.
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 22nd Sep 2003 04:50
File requester??
I searched the whole page and I could not find anything relating to that.

BTW...does anyone know where I could get a free copy of VB?

The rock has rolled!
TheOneRing
22
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 22nd Sep 2003 17:58
Free VB???? From Microsoft?????
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 22nd Sep 2003 18:19
Quote: "BTW...does anyone know where I could get a free copy of VB?"


Warez discussion is not allowed on the forum. Any other such questions will result in the thread being locked.

Preston C
23
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 22nd Sep 2003 18:35
I think he means a third party compiler that is free Rob.

Nope, not gonna happen sadly. Microsoft owns the language, and if anyone made a third party compiler for it, Microsoft's lawyers would swarm all over the maker.


Dark Basic Pro has arived! I can feel the power!
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 22nd Sep 2003 23:31
Figured as much......

The rock has rolled!
iac249
23
Years of Service
User Offline
Joined: 26th Mar 2003
Location: USA
Posted: 24th Sep 2003 05:32
Isn't the control creation edition of VB free?
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 24th Sep 2003 06:02
hi m8, i dunno if the last post made it, but i have a small little single line editor i made, its a standalone.exe ill just adjust it a little and uplaod it, then ill post a link.

please confirm that you have read this message to save me some time... ta ill have a message on here tomorrow. if you confirm this one
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 24th Sep 2003 06:51
here is the address of the files needed, as promised. hope this will do.

let me know what you think.

Boom

[href]http://www.boomplayer.com/txtedit.zip
dunno if i done this link right. heres hoping...
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 24th Sep 2003 22:54
it says cncs32.dll wasn't found.......

The rock has rolled!
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 25th Sep 2003 23:50
Sorry m8, forgot the system file, just put it in the same directory.
should be a ok then. you may have spelt the dll wrongly please check if this doesnt work. but it should...

Les

http://www.boomplayer.com/cncs232.zip
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 26th Sep 2003 01:45
Thats really good!

One thing...How do you save...it says "DO YOU WANT TO SAVE" I hit yes, and it does nothing.

Also it would be nice if you just had to hit enter instead of hitting apply

The rock has rolled!
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 26th Sep 2003 06:23
hi there, glad you liked it, it saves when you click yes.
it just saves to file called. code.txt

if you edit some lines then save it, you can then clear the screen and loading the txt file will bring up what you saved. proof is in the pudding.

ill do a save/load dialogue version soon as i get some more time. i work as a web designer so my spare time is very limited. i will however implement the return key. a simple process. ill upload it soon, it will be the same link as before, but this time all files included.


Les
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 26th Sep 2003 07:41
Back again, im going to bed now, ZZZZZZZZ

http://www.boomplayer.com/txtedit.zip

This is a much nicer version. try the save out now. all credits to me please. yeh! right...

also put in the return function, and you can make multiple copies of the line by clicking line and pressign return try it.

i have pack all files needed into one folder, so no worries there.

have fun with it, this will be my last upload of this editor. should do all you want now.

Bye

Les
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 26th Sep 2003 23:27
Thats REALLY good....
If you have the time..could you make it so it understands a commmand line..like if u were to have this:

execute file "txtedit.exe","save test.txt",""


so when u press save it saves as test.txt

also,
after u press enter it would be nice if it went to the next line and u just typed and hit enter again instead of clicking on the entry line.


Thanks a lot

The rock has rolled!
Rknight
22
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 27th Sep 2003 04:08
That's a cool little text editor.

I'd love to see the source if you'd make it available.
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 27th Sep 2003 05:07
whats it coded in?

The rock has rolled!
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 27th Sep 2003 05:18
Quote: "If you have the time..could you make it so it understands a commmand line..like if u were to have this:

execute file "txtedit.exe","save test.txt",""


so when u press save it saves as test.txt"



never mind....dont spend ur time on that...it would just be nice if u did the quick second thing.

The rock has rolled!
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 27th Sep 2003 06:15
Pleased you guys like it me text editor, ill do some more when i have time, try boomplayer. its free.
http://www.boomplayer.com/boomplayer.zip
also by me, i shall be releasing a new version soon, shareware only, 30% smaller, load your own skins ect. just thought id show this one off.

please post you thoughts. this version doesnt play variable mp3s, it will crash, but the new skinable version does not do this. includes drag and drop playlist and six skins.

L8erz

Les
keeblerElf
23
Years of Service
User Offline
Joined: 11th Jun 2003
Location: United States
Posted: 27th Sep 2003 09:21
You can download a Envelope for free of the internet...envelope is basically a visual basic clone...it's what I use because I'm cheap and don't like to buy things if I don't have to
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 27th Sep 2003 20:52
New version of txtedit available. use same filename as before. this one will load a file and save a file of your choosing, but you have to type it in to the ew text area.

[/href]http://www.boomplayer.com/txtedit.zip[href]

I rest my case...

Les
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 28th Sep 2003 04:36
after u press enter it would be nice if it went to the next line and u just typed and hit enter again instead of clicking on the entry line.


Please....

The rock has rolled!
boom
22
Years of Service
User Offline
Joined: 23rd Sep 2003
Location: Uk
Posted: 28th Sep 2003 05:03
blimey you guys dont want much... ill see what i can do.



Les
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 28th Sep 2003 05:06
Thank you
This is it..no more requests after this!!!

The rock has rolled!

Login to post a reply

Server time is: 2026-07-26 01:00:02
Your offset time is: 2026-07-26 01:00:02