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 / Preview .DBA files in Windows Explorer

Author
Message
Burning Feet Man
18
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 20th Nov 2012 22:18
Firstly, I take no responsibility for you corrupting your registry! Only attempt the following if you know what you're doing.

I had a problem over the weekend where I needed to view mass .DBA files easily, and thought it strange that I couldn't preview them in the Windows Explorer preview pane. So I figured since I can view text files in the preview pane, a .DBA is a text file with a .DBA extension (correct me if I'm wrong), thus, to preview .DBA file in Windows explorer, all I needed was to add this key to the Windows registry via regedit;

Computer\HKEY_CLASSES_ROOT\.dba

PerceivedType as Text



Annnd with that simple reg entry, you can now view your .DBA files in Windows Explorer preview pane.



Pretty handy.

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Nov 2012 09:26 Edited at: 21st Nov 2012 09:27
Neat. Is there a way to prevent the word-wrap?

"You're not going crazy. You're going sane in a crazy world!" ~Tick
Burning Feet Man
18
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 21st Nov 2012 10:48
Ahh, good spot Phaelax. I had a quick poke about Google but couldn't find any cheat sheets on this functionality. Maybe someone else will be able to find this out?

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 21st Nov 2012 14:18
i use total commander. it has an amazing lister allows me to preview any kind of source file. you can even make your own source file format with own highlights on it.. it also allows me to open any kind of large files in notepad with in a second! even if its 1000GB file..
highly recomended

total commander:
http://www.ghisler.com/download.htm

total commander lister's plugins/addons
http://www.ghisler.com/plugins.htm#lister

Advanced Updater for your games!

Login to post a reply

Server time is: 2026-07-11 14:52:40
Your offset time is: 2026-07-11 14:52:40