Custom Colour Picker
As functional as the colour picker from Microsoft seems to be, I figured that there is always room for improvement. The selcolor.htm file from Microsoft can be completely replaced with my new version. This colour picker dialog box can also be easily included into other Web applications as the parameters that are passed back are not DEC specific. Download the code I revamped it, making it more sim...
From Word to the DEC
Wanting to step up the functionality on my initial code I decided to do some research on other variations on copying content from a Word document to store into a database. What I've created consists of two files: loaddocument.html and findworddoc.html. Download the code Open up loaddocument.html in your browser. Click on the Load button and you will see a dialog box prompting for t...
Microsoft's Dynamic HTML Editing Component (DEC)
There are actually two different ways you can accomplish HTML editing in IE5 and up. There is the MSHTML editor and then there's the DHTML Editing Component. The MSHTML editor allows for WYSIWYG editing by defining "editable regions" of a page. The DEC on the other hand is an embedded ActiveX control that works much like a ...
VBScript code to replace text NOT in HTML tags
I had been looking for a solution to this problem for a little while and there was a post on ASPMessageboard that got me started. It pointed me to an article on 4GuysFromRolla that included a function as well as some search criteria. First the function: Function RegExpReplace(strInput, strPattern, strReplace) ' Use <?> to indicate the match you wish to replace ' Create and setup severa...
Copying from Microsoft Word to a textarea using JavaScript
I did some research and found that not many people had detailed a solution to do this so I've created my own solution. First, there's a couple things that you need to be aware of before you proceed. This is a client-based solution and therefore your client must have Microsoft Word installed on their machine. This solution accesses files on the client's machine and therefore your client must hav...
Reading parameters of a Macromedia Flash (SWF) file using ASP
Ever wanted to read the properties of a SWF file such as height and width? Well, I did. Openswf.org was a good starting point for me. They have a SWF parser written in C++ that can grab all the information you need. There are also a number of server-side objects that can do the trick as well. However, I needed a solution that would work without any custom server-side objects. So, I went on my mer...
TIPS, TRICKS & BOOKMARKS on WEB DEVELOPMENT
I'm Jonathan Snook and I write about web design and development. I 







