<http://forum.pspad.com/read.php?f=2&i=11095&t=11012> ----------------------------------------------------------------
I have added another script. This time, it is my database script that has grown a bit longer and is ported to VBScript. It now has commands for: - Opening the SQL log of the localhost's database server - Extracting table names from SQL statements in code - "quoted string" conversion of a selection (ANSI-style, single quotes are doubled, newlines etc are "slashed"). If the selection contains special characters, a hexadecimal string is generated - Executing a selection as an SQL statement on a server through ODBC. This requires either DAO or ADO to be installed on your system. If you want to use this with MySQL, MyODBC has to be installed as well. Results can be given as an HTML table, CSV or with tabs. It can be downloaded from: http://www.w-p.dds.nl/database.txt Again, save this file in the Script/VBScript directory with an extension "vbs". Feel free to use this and the sourcesafe script as examples in PSPad. Have fun. [%sig%] -- PSPad freeware editor http://www.pspad.com
