Category: VBScript

72 posts

Considering "the switch"

As part of my new job, I got myself a MacBook pro and have been running Bootcamp on it over the last few days. All in all the experience is good, but there are issues with Windows running on the MacBook that bother me (bad sound drivers, and the fact that the clock resets on each startup). However, before I installed BootCamp I spent quite a bit of time on the Mac and got over some of my "floating windows" phobias. To that end, I'm considering going all the way and switching to OSX. So to get to my point, is there anyone out there that's recently been through this that can give me some pointers on what I might miss?

Read more…

Discovery of the Day

I'm a big fan of virtual directories. I like sharing assets across sites without having to duplicate a bunch of folders. Angela and I were doing some planning for a site and she asked if you created a Virtual Directory in IIS, what would happen if you also had a physical directory of the same name. Well it turns out that if you have a Virtual Directory defined in IIS, the server will completely ignore the contents of any physical directory in the same location. So if you had this:

Read more…

IISAdmin to the Rescue

I've always gone through the trouble of setting up a separate full-blown Windows 2003 Server here in my office for doing development work. The reason being that I didn't want to test on the production server, deal with FTP lags when uploading constantly changed files, and I like to keep my sites clean. I don't like testing in a base wwwroot directory and either setting up tons of subfolders or constantly clearing the wwwroot directory to get a site in the root.

Read more…

Transforming XML Server-Side

Angela and I gave a presentation to the Mid-Michigan CFUG yesterday (well actually Angela gave the presentation, and I just showed some XSL stuff), and I showed everyone how to use the new XSLT visual authoring tools in Dreamweaver 8. They're great and wonderful and everything, but they're really geared towards working with local XML files. The reason I say that, is that Macromedia doesn't offer any solutions for transforming a remote XML file. They allow you to write an XSLT file to transform that remote content, but they don't tell you how to actually pull a little Optimus Prime on it and make that XML human readable.

Read more…

If Statement Goodness

If you like If statements in ASP VBScript as much as I do (and really, who doesn't?), then you need DWfaq's Custom Conditional Region. It tacks a comment on the end of your If and End If statements allowing them to be rendered in Dreamweaver's Design view. The comments also help you peg down what End Ifs go with which Ifs. I used CCR to write all of the conditional logic for the front page of the blog, and figured I'd show you how well it works.

Read more…

Interested in testing Cartweaver ASP?

Well Cartweaver ASP is getting close, finally. We're looking for beta testers, so if you're interested, simply add a comment to this post with your information and I'll add you to my list of potential testers. I'd like to know your experience level with ASP along with what editor you'll be using (Homesite or Dreamweaver MX/MX2004 for example).

Read more…

Yes, I'm still alive

Just thought I would let everyone know that I am indeed still alive and kicking. I just spent 10 days down in sunny Southern California getting work done for Lynda.com and Cartweaver (shhh... ASP). As soon as I got back I had to move into a new apartment, so I'm just now getting to a point where I can *gasp* breathe.

Read more…

ColdFusion Scheduled Tasks

If you're running your own CF server, or are hosting with a host who's willing to do a little extra work for you, you're going to love ColdFusion scheduled tasks. It's basically a way to tell CF to run a particular file at a set interval. The called file can run a report, update a database, do an XML grab, anything you want. And then you can tell CF that you want it to save the results of the file somewhere else.

Read more…

Fine Art from a friend of mine

Just wanted to point a link to a good friend of mine who's site I just completed. Lary McKee Studios is run by (you guessed it) Lary McKee. He's a wonderful realist painter, and I just can't say enough how happy I am to have been able to provide him with a great new venue for his artwork. We actually have the original for Victorian Lady hanging in our living room. Check him out, and buy a print if the mood strikes you ;). They're all hand matted and framed by the artist himself.

Read more…

Another Blog-o-matic user

Jay has got the Blog-o-matic installed and running (quite quickly too I might add). I'm going to have to harass him for the details on what went right/wrong, considering there is absotively posolutely zero documentation at this point, and several features still left to finish.

Read more…

Features?

I'm working on quite a few features on the blog, but what do you, the people of the internet, feel a blog really needs? What would make you go "Honey?!?! Can you get the checkbook?". Inquiring minds want to know...

Read more…

Search repaired

I finally got around to fixing my search highlighting. It was wrapping phrases inside HTML tags (such as links) with the highlighting tags, breaking links and causing general mayhem. All fixed now though, only phrases outside of a tag are highlighted, even though phrases inside tags are searched.

Read more…

More Image Gallery Updates

It's coming along nicely now. The demo here on the blog is an earlier incarnation of the script, and so it's a bit slower, and doesn't have all the goodies of the latest one. Not only will you be able to instantly add galleries, you'll be able to edit the captions, descriptions and displayed image names all online, using a Gallery Manager. All you need is correct permissions to your gallery folders and you can do it all online. Wam, bam, thank you ma'am, wonderful XML.

Read more…

Slow Going

Just wanted to catch people up, since I've had some inquiries regarding the blog development. Things are moving slow :). I haven't made any significant additions to the application since before Thanksgiving, as I've been working on other project, such as a Dynamic Image Gallery that will allow you to display galleries of images by just uploading files. You can see pictures of my bar at the demo page.

Read more…

Almost X-mas :)

Just spending the day today wrapping up loose ends and getting ready to head for Seattle. Gonna spend Monday night through Thursday up there with the in-laws, and will be meeting the sis-in-law's boyfriend, so it should be fun.

Read more…

All turned in

Got the last chapter turned in today and whooped my brother-in-law at Halo and Dead or Alive :). Glad to have everything turned in, but I'm just waiting for the other ball to drop and a whole ton of stuff back to fix (hoping not :). The editors told me to enjoy my Thanksgiving while they slave away, so I'm gonna ;).

Read more…

Saw it on Amazon

hehehe... saw my new book title on Amazon.com today. But it didn't have the authors listed yet so I can't tell you what it is. My fingers are itching though... :)

Read more…

Book Progress

Got my final chapter turned in on Thursday (a day early even) and turned in my first review chapter today. Just gotta review three more (and hope they accept them) and I'm done and onto other projects.

Read more…

I'm gonna be famous (for real)

I've informally confirmed a new book deal. I'll be co-author on a new book due out some time about some thing (NDA and all that). This time I'll have my name on the front cover. More details will be provided here once I'm able to release more information :-).

Read more…

Server Formats Galore

In the process of putting together my blog, I've come up with quite a few functions for manipulating dates. This includes find the start and end of a week that contains a particular date (for the archives and such) as well as quiet a few others.

Read more…

Calendar improved

I added a bit more functionality to the calendar, disabling the forward and next links if you've reached the end of the posts. This prevents someone from going all to the way to Jan 2003 or back to Jan 2001 if there in fact, aren't any posts there.

Read more…

Got the categories working

You can now filter posts by Category on the blog. You can have any number of categories, a post can be assigned to multiple categories, and you can completely disable a category (this doesn't disable the posts, but only keeps the category from showing up in the nav).

Read more…

Calendar success?

I found a freebie calendar script on ASP101 that didn't have any database connectivity, and hacked it up to add my own. I was having issues with any solution that already had a database attached, as their db schema was different than what I was using. Ended up being easier to add my own hooks in there.

Read more…

Got a calendar?

I'm trying to find a good (and hopefully free) ASP Calendar system I can adapt for my blog. I'm going to try and put something together that will let me filter by month/week/day by clicking appropriate links in the calendar. Looks like I'm going to be playing with lots of date manipulation.

Read more…

A change in management...

Well I spent the last few days converting my blog from Blogger to my own server (nothing against blogger, but I'm a bright guy, and I can do it on my own :). So it's now all database driven with ASP VBScript. I got to play with datashaping more (the blog headers, contents and the accompanying comments are all shaped) and got to play with some advanced SQL to get my archive weeks worked out. Everything is also served from this one page now, including the permalinks.

Read more…

Cartweaver ASP?

Dat's right peoples, I'm currently working on an ASP conversion of Cartweaver, in cooperation with Lawrence Cramer. It should be ready sometime in the first quarter of 2003 and will be sold alongside the CF version from the DWfaq Store. We're not sure yet on the release date, as new features are being worked into the product at the same time. But it will definitely be the same Cartweaver quality, just in an ASP flava (I always wanted to say flava...)

Read more…

New product delivery methods

I just put together a new nifty little mini-app for the DWfaq Store. Customers can now choose to email the products to themselves instead of downloading. If you're like me, I keep my email around for ages, so it would be nice to have my downloaded products categorized in there like everything else :). My email inbox is more organized than my house. Kinda scary.

Read more…

New things on the horizon...

I'm getting hip deep into a new project (actually nearing 40% completion) and things are starting to click. What is it you ask??? Think ASP (you know you love it), think eCommerce, shopping cart, think customers with fat wallets giving you money... I think you get the picture. More when I'm able.

Read more…

Manipulate arrays

Probably what I like least about VBScript is it's lack of built in functions for manipulating arrays. This means you've gotta write your own. In working on my new top secret project, I needed a way to remove an item from a 2 dimensional array without affecting the rest of the items in the array. And to that end, after 2 hours of searching on Google, I decided to write my own dang functions. You can find them in the test area of Web-Shorts.

Read more…

gifStream fun

I've recently been playing with a new technique I picked up from Humankind Systems' AnswerTrack application. I'm currently calling it gifStreaming, as that's the name of the transparent gif that AnswerTrack uses.

Read more…