Yesterday it worked
Today it is not working
Windows is like that
Category: VBScript
72 posts
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?
That's right, I have confirmed through sources yet to be named (ACE people) that MAX will be this October 22nd to the 26th in sunny Las Vegas. They planned it on my birfday on purpose y'know...
That's right folks. Dreamweaver 8 Dynamic Development is now available at lynda.com. This title uses ColdFusion to teach you all about handling Dynamic Development in Dreamweaver. You'll learn how to install ColdFusion (yes, on the mac too), as well as how to install MySQL and get up and running quickly.
Continuing on from my post yesterday regarding virtual directories, another nifty tip is that when including files in ASP, you can use either a file or virtual include. Here are two examples:
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:
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.
Business Week has a great interview with one of the owners of 37Signals on their design philosophy and why it's a good idea to keep things simple.
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.
Finally, I can get a good night's sleep :). Cartweaver 2 PHP, a PHP shopping cart solution for Dreamweaver, is now for sale. Get your PHP on, and buy one today!
If you're down in the LA/San Diego area, I'm going to be infiltrating the March Mingle on Monday. If you're a Cartweaver'er (or something) just look for me in my fancy Cartweaver shirt and say hello. There are going to be some good giveaways, and there should be a lot of geek-ness going on. You can find out some more details on what's being given away at Angela's blog.
I'm finally done... Cartweaver ASP is now for sale at the new and improved Cartweaver.com.
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.
Oh how I love Beyond Compare
It's saved large patches of my hair
It checks my files and keeps me sane
Without it my job would be a pain
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).
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.
That's right, I have another title up on Lynda.com today, Dynamic Development Using ASP and Macromedia Dreamweaver MX 2004
Just got done with another few days in the recording booth at Lynda.com recording Dreamweaver MX 2004 Databases with ASP (talk about a long title). Hopefully it should be hitting the online movie library in a few weeks :) (make me look good now editors...)
That's right, Intermediate Dreamweaver MX 2004 is now available from the online training library at Lynda.com. Sign up and view it today (cause you love me... :-).
First week of March I hit the sound studio with Garo Green to record the new Intermediate Dreamweaver MX 2004 CD-ROM. It's gonna be good stuff peoples :)
Tom Muck's new Dreamweaver MX 2004 Complete Reference is out in stores now :). Pick up your copy today, cause I said so dontcha know...
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.
The mat previews at Lary McKee Studios are working, so check it out and buy something for cryin' out loud :).
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.
You betcha...
It's 1am, and the DWfaq Store is now taking credit cards. Buh bye PayPal.
I don't know who told them they could put my picture on the cover. I only gave them permission to put it on the inside....
The new Macromedia DRK 4 is ready for to snagged up. Always guaranteed to find some tasty stuff on here :)
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.
That's right... I've had people actually making me work, which is why there haven't been many posts to the blog lately. Needless to say I'm looking forward to getting a few projects wrapped up and out to the masses.
Just finished my first presentation. I hate talking that long :).
The nCubed Free Image Gallery has finally been released through the DWfaq Store
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...
I finally got my act together and finished up the RSS feed for the blog. Thanks to Joel for pointing out that I didn't set my content type for the .asp page, so IE wasn't rendering it as XML.
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.
Tickets for TODCON MX North... you got yours?
Just got 4 copies of the new book. It looks pretty snazzy if I do say so myself...
If you look really close at the book cover of Dreamweaver MX: Advanced ASP Web Development you just might see my name ;).
Using the latest version of the image gallery now.
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.
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.
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.
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 ;).
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... :)
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.
I finally did it. Wrote my own useless binary converter. I had a few nudges from Kindler Chase and grabbed an idear or two out of his head, and came up with my own. Have fun :)
The DWfaq Date/Time Format Suite is for sale. Buy it for my birthday (you can keep the suite, I'll take the payment), for your geek's Christmas present or just for the heck of it. Whatever you do, you should definitely buy it (should I be a car salesman?). More info at the DWfaq Store, including screenshots and demos.
Angela has sent the Server Formats suite out to our beta testers, so hopefully things will be ready for release soon. You can find some more info and screenshots at DWmommy.com.
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 :-).
It's an explosive combination I tell ya. Jay has just finished his first major database driven site, Bear Creek Baptist Church.
I made the style changer ASP driven, so no more funky flashing :~)
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.
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.
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).
Here are some screenshots of the admin area of the site.
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.
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.
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.
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...)
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.
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.
Just found a wonderful reference for working with dates in VBScript.
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.
Just starting on a new project with some other DW group developers. Wish I could say what it was, but rest assured, you *will* like it (or else).
I've just finished up my latest product, the StoreFront Related Products Add-on, and I must say I'm very pleased. It's now possible to add Amazon.com-style related product information to your product detail pages, thereby increasing cross-selling throughout your store.
I finally finished up my two new tutorials on DataShaping and gifStream. Check them out in the Dynamic section of dwfaq.com.
That's right, say it with me now... datashaping.
Spent a lot of time today on my gifStream Tutorial. Had some more help from Danilo on the JavaScript (I'm gonna get this down sooner or later :). Hopefully I can have this finished with example files in a few days and get it up and running on DWfaq.com.
I've just finished testing the final beta release of the extension for my Image Manager application. If I can stay on schedule, I'll be releasing the update to current customers, and putting up some screenshots of the interface in the DWfaq /Store.
Here's the gifStream demo I mentioned in the last entry. I'll be turning this into a full-fledged tutorial eventually.
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.