Results for "Author: sam moses mz"
Ever since the "official" end of the browser war, developers have had to ask themselves "to Netscape? Or not to Netscape." That is the question. With old standards in mind, and new ones on the way with the release Netscape 6.1 the question remains.
Why I wrote thise code: While working on a project, I realized that I was writing too many update statements. Not that it's hard, but hand coding update statements can feel like pulling teeth if you are working with large applications where you do a lot of updating. So why not create a dynamic update statement that saves time, and effort, and only needs to be written once? Okay, I admit it, I can be lazy sometimes. But this one is actually useful. This code takes values from a querystring and uses them to update two fields within a database record. It can be used for any table in any access database.
I wanted an ASP script (not perl or PHP) that would read and count the images in a directory, and format them into neat little columns that would display my images in that nice image gallery format I like to see. There's only one problem. After looking for an example of such a script for over six months, I came to the conclusion that one did not exist. This is because ASP does not make this type of information easy to work with. Luckily, there's a work around. This script reads the names of files in a directory and caches them to a text file. This text file is read in ADO, which gives you the power to play with the presentation a bit. Anyway, the end result is a nicely formatted image gallery that works exactly the way I wanted it to. Enjoy.
Ever since the "official" end of the browser war, developers have had to ask themselves "to Netscape? Or not to Netscape." That is the question. With old standards in mind, and new ones on the way with the release Netscape 6.1 the question remains.
Why I wrote thise code: While working on a project, I realized that I was writing too many update statements. Not that it's hard, but hand coding update statements can feel like pulling teeth if you are working with large applications where you do a lot of updating. So why not create a dynamic update statement that saves time, and effort, and only needs to be written once? Okay, I admit it, I can be lazy sometimes. But this one is actually useful. This code takes values from a querystring and uses them to update two fields within a database record. It can be used for any table in any access database.
I wanted an ASP script (not perl or PHP) that would read and count the images in a directory, and format them into neat little columns that would display my images in that nice image gallery format I like to see. There's only one problem. After looking for an example of such a script for over six months, I came to the conclusion that one did not exist. This is because ASP does not make this type of information easy to work with. Luckily, there's a work around. This script reads the names of files in a directory and caches them to a text file. This text file is read in ADO, which gives you the power to play with the presentation a bit. Anyway, the end result is a nicely formatted image gallery that works exactly the way I wanted it to. Enjoy.
Ever since the "official" end of the browser war, developers have had to ask themselves "to Netscape? Or not to Netscape." That is the question. With old standards in mind, and new ones on the way with the release Netscape 6.1 the question remains.
Why I wrote thise code: While working on a project, I realized that I was writing too many update statements. Not that it's hard, but hand coding update statements can feel like pulling teeth if you are working with large applications where you do a lot of updating. So why not create a dynamic update statement that saves time, and effort, and only needs to be written once? Okay, I admit it, I can be lazy sometimes. But this one is actually useful. This code takes values from a querystring and uses them to update two fields within a database record. It can be used for any table in any access database.
I wanted an ASP script (not perl or PHP) that would read and count the images in a directory, and format them into neat little columns that would display my images in that nice image gallery format I like to see. There's only one problem. After looking for an example of such a script for over six months, I came to the conclusion that one did not exist. This is because ASP does not make this type of information easy to work with. Luckily, there's a work around. This script reads the names of files in a directory and caches them to a text file. This text file is read in ADO, which gives you the power to play with the presentation a bit. Anyway, the end result is a nicely formatted image gallery that works exactly the way I wanted it to. Enjoy.
Ever since the "official" end of the browser war, developers have had to ask themselves "to Netscape? Or not to Netscape." That is the question. With old standards in mind, and new ones on the way with the release Netscape 6.1 the question remains.
Why I wrote thise code: While working on a project, I realized that I was writing too many update statements. Not that it's hard, but hand coding update statements can feel like pulling teeth if you are working with large applications where you do a lot of updating. So why not create a dynamic update statement that saves time, and effort, and only needs to be written once? Okay, I admit it, I can be lazy sometimes. But this one is actually useful. This code takes values from a querystring and uses them to update two fields within a database record. It can be used for any table in any access database.
I wanted an ASP script (not perl or PHP) that would read and count the images in a directory, and format them into neat little columns that would display my images in that nice image gallery format I like to see. There's only one problem. After looking for an example of such a script for over six months, I came to the conclusion that one did not exist. This is because ASP does not make this type of information easy to work with. Luckily, there's a work around. This script reads the names of files in a directory and caches them to a text file. This text file is read in ADO, which gives you the power to play with the presentation a bit. Anyway, the end result is a nicely formatted image gallery that works exactly the way I wanted it to. Enjoy.