February 18, 2007
I have been working on the expanded Club Starter Kit from Codeplex and ran into problems on every page that had a FCKeditor window. When running the site from VS.Net 2005, I would get a wierd error message.

I was pulling my hair out. Googling for IE7 FCKeditor didn’t help. I wasn’t having that problem with FF2.
Well, as it turns out, it was a setting in Windows Live OneCare. After unchecking the box that is circled, the editor came up fine on a test page.

So here is one solution that may work for you. Now why didn’t OneCare block the same thing from FF???
Leave a Comment » |
Vista |
Permalink
Posted by Michael
February 14, 2007
My IP Status Gadget finally got a review (after being up 3 days). It wasn’t a review, more of a feature request. The reviewer requested two things:
- User settable background
- Smaller size when public IP address isn’t needed.
So now I can improve it and release version 1.1. I am really liking the idea of the sidebar gadgets. For me they are a great opportunity to begin development and releasing software without any repurcussions. The only downsides are they are free and the code can be changed by someone else and re-released. But since they only took a few hours, I don’t mind giving it away. I was just impressed to see the number of downloads steadily increasing.
I have also thought of a way of monetizing it. Right now, it will not give you your public IP address (if you are behind a router) without hitting a ASP page. I wrote a simple ASP page on my website that just does a response.write of the IP address. I am not giving out the URL, because I don’t want my host to get hit with a bunch of requests. But if I made a site that you have to subscribe to (maybe $15/year or something like that), then I could add that to the settings page and make some money off the gadget. I don’t know if I will go through with that or not.
Oh, and my Vista Sidebar post is the 23rd result on Google when searching for “gadget vbscript”. So at least I know Google is checking my blog!
I guess it is time to start doing more posts on developing gadgets with vbscript, since most of the samples you can find are written in javascript. I don’t have anything against javascript, but seeing how hard debugging gadgets can be, I don’t want to have to debug missing ;s. And since most of my software development is in VB.Net, vbscript is just a little easier for me to write.
Leave a Comment » |
Vista |
Permalink
Posted by Michael
February 11, 2007
I have been playing around with the Vista sidebar. There are a lot of really neat gadgets that you can download for it. One disappointment was that I couldn’t find a gadget that showed me my computer’s IP address. There are some that show you the IP address for your wireless card, but for a desktop computer that is about worthless.
After some investigation, I figured out why I couldn’t find a gadget to show me my address. The sidebar has a good API for things like cpu % used, mem % used, and wireless configuration, but not the ip address for an ethernet card. I figured out how to do that after spending some quality time with Google.
The trick is to use WMI along with javascript or vbscript. I finally finished my IP status gadget tonight. It displays the following:
- LAN IP address.
- Optionally, it will also show your public IP address (through a helper asp page).
- A flyout that shows all available information on your card (DNS servers, DHCP Server, Lease expiration, etc.).
- A settings dialog to let you put in the asp page url to get your public IP address.
I am quite satisfied with it at this point. Everything has been coded in vbscript. It seems like most of the examples that you find are coded in javascript. Some samples mix and match between the two. But for this I decided to just use vbscript. Now if only I could figure out how to put it in a seperate file!
<edit> It was accepted this afternoon and is available to download. Like all sidebar gadgets, this is free. Click here to try it! </edit>
1 Comment |
Vista |
Permalink
Posted by Michael
February 8, 2007
Yesterday I purchased a new 400gb drive to install Vista Business on. I finally got my quarterly Action Pack shipment. In the Action Pack was Vista Business Upgrade, Office 2007 Enterprise, just about every other Office program (Visio, Expression Web, etc), and Sharepoint Server (2006? 2007? I can’t remember).
I shut down my desktop computer and installed the new hard drive, removing an old 60gb drive in the process. I figured I would just boot from the Vista disk and install it that way. Noooo, that would be too easy. Apparently the Upgrade version has to be installed from XP Pro. Ok, well I have XP Pro from the Action Pack, so I will just install that, then install Vista. And that worked, except for some reason Vista marked the drive it was installed on as the K: drive. Yuck! And of course you can’t change the drive letter on the drive that you are booted from.
Next try was to start the Vista install from my existing XP installation. Yeah, just try to get XP to boot if you installed Vista in a way that it doesn’t know about your existing XP. I messed with the command line tool to try and get the boot menu straightened out (BCDedit). After spending too much time googling and reading, I finally just used the XP recovery console to get back to XP. Then I deleted the partition that Vista was installed on. I was going to do the install from within XP and choose a clean install on the new hard drive. And of course that didn’t work. This time it was because of the driver for the IDE channels.
Tonight I will unplug the hard drive that my existing XP install is on, and then install XP on the new hard drive. I then intend on installing Vista as a clean install over the new XP install. What I am trying to get is a clean install of Vista. I don’t want a Windows.old folder that is impossible to access, and also impossible to delete. As far as I am concerned, this is just a waste of space.
I need to keep the existing XP drive around until I can get drivers for all my peripherals. I also want to do a clean install of Vista, because I know that my existing XP has a lot of junk in it, from registry entries for programs that aren’t even installed to programs that I have not used in over a year, mainly games.
1 Comment |
Vista |
Permalink
Posted by Michael
January 30, 2007
I ended up purchasing the upgrade version of Vista Home Premium. After thinking about it, I am installing it on my laptop. After having to uninstall a bunch of stuff and deleting stuff from My Documents so that I would have 10Gb free space, I finally got the upgrade started. Of course it warned me that a bunch of programs probably wouldn’t work when the upgrade was finished (including Visual Studio 2005 and Virtual PC 2004!). And then it started chugging away, while warning me that it will reboot multiple times and would take hours!
I am installing this on my laptop because there aren’t any files on there that I don’t have backed up. It will also take less time to blow away than my desktop computer would.
<edit> I am just editing this post for completeness sake. I ran into a few problems with the install (really, with post-install) on my HP laptop. HP does not support Vista on my laptop. But then after trying to find Vista drivers for my HP printers, it doesn’t look like HP supports Vista at all! On Vista, my touchpad was just listed as a mouse. So I spent a couple hours trying to find a driver for it. One thing that has always bugged me about touchpads is the tap-click feature is always enabled by default. When I type, I tend to rest part of my hand on the touchpad. Next thing I know, I accidentally tap the touchpad and I am typing somewhere else on the screen. So getting the driver for the touchpad to disable tap-clicks was essential. I ended up downloading the Alps touchpad driver from Dell.
The video chipset is an ATI Radeon Mobile 9000igp. And of course ATI doesn’t have a Vista driver for that (too old?). I found a driver from Toshiba through one of those driver download sites (sorry, can’t remember which one). The driver is for XP. But at least it lets me set the screen resolution higher.
My laptop still has a Win Experience score of 1.0, mainly due to the video card. That is even with having the video card get a full 128mb of memory (the most that the bios will let me give it). When I bought the laptop, it had 512mb of RAM for the whole system, and only 16mb reserved for video RAM. The 512mb was divided into 2 sticks, only one of which is easily replaceable. Previously I had removed the easily accessable 256mb stick and replaced it with a 1gb stick. With 128mb reserved for video, that gives me 1.25gb of system ram.
Now if only the video card was replaceable!
Leave a Comment » |
Business, MicroISV |
Permalink
Posted by Michael
January 30, 2007
Vista is being released sometime this week (I can’t really tell if it is today or tomorrow). And I have been thinking about getting it. From looking at the different versions, I think that I will be going with Ultimate so that I have all the home options plus can join it to my SBS domain.
But is it worth getting? Pros: I will need it to test my software, it has more media capabilities than XP Pro, and I can get a new computer. Cons: $, setting up a new computer.
Even if I get a new computer, I will not get rid of my current desktop computer. I built this computer. It has a P4 2.4ghz processor, 2Gb RAM, 4 or 5 hard drives (I can’t remember how many I am up to), one of the drives is in a “cradle” so that I can slide it out and slide another drive in (good for backups!). It also has a beefy video card driving dual 17″ flat screen LCDs. But it has been awhile since I have rebuilt XP on it, so it is getting slow.
So I will probably get a new computer. I will install all my usual programs and games on it, then I will take an image of it, so that rebuilding it will be a lot easier.
Leave a Comment » |
Business, MicroISV |
Permalink
Posted by Michael
January 23, 2007
After finally getting it installed (so much for actually reading the documentation), and using it this evening, I have to say I really love Vault. And really it isn’t specifically Vault, but source control entirely. I have been experimenting with have a collection that held another collection of a class. And serializing it out to an XML file. It was basically MasterCollection, that inherits CollectionBase, and held GroupCollection, which also inherits from CollectionBase. GroupCollection held Accounts. The idea was there would only be one MasterCollection, there can be more than one GroupCollection which holds many Accounts. No problem so far. Until I tried to add a variable Name to the GroupCollection. The name never got serialized. What I got was <ArrayOfArrayOfAccounts></>.
I ended up trying many different ways to fix this. I would check the code out of Vault, make changes to it, see if it worked, and if it didn’t, I’d just revert the check out and check it out again. Sometimes I would check in the code so that I could look at it later. This allowed me to experiment without having to copy the folder to another place on the hard drive. I already have multiple copies of previous projects laying around and can’t tell which is the latest/greatest. With Vault, I put in comments what I changed/modified. So I can look back at it later.
And something else that I noticed for the first time today. I use the personalized Google page for my homepage. I have a tab set up just for the different blogs I look at. Sometime Google snuck in a new feature. It now shows me the date and/or time of the posts. So I can tell by looking at the date (if the date posted is not today) or the time (if the date posted is today) and know if I read it or not. Each post also has a + that you can click to expand to read the whole post.
I just hope that it shows up correctly for stats when I look at a post using the Google site.
Leave a Comment » |
Uncategorized |
Permalink
Posted by Michael
January 22, 2007
I have mostly finished with the gui portion of the project. There are a few details to finish up with, namely coming up with the registration code format. Also, tying it to the website, which isn’t completed yet either.
In the process of testing, I determined that my way that I was going to store data will not work. So I deleted that section and started over. But after I deleted the section and saved it, I thought it would be nice to be able to see how I did it before. This led again to getting Vault set up and running. Well, I am working through the dependencies now. First, I had to install IIS (I am using WinXP in a Virtual PC to run Vault). Once that was done, it then told me that I needed to install the .Net 1.1 framework. So I go to Windows Update, which lists 67 critical updates. This is essentially a clean OS install. Adding .Net 1.1 framework made it 68 updates. Right now it is on #8.
And on it goes…
Leave a Comment » |
Uncategorized |
Permalink
Posted by Michael
January 17, 2007
My older son (who is 8 years old) has recently begun to like country music. Or specifically one band, Rascal Flatts. This started because they did a song on the Cars movie soundtrack. He received their new CD for Christmas this year.
Now I don’t mind him listening to country music. I like country music myself. And he could be listening to a lot worse!
But now that he is starting to pay attention to music and radio stations, I learned about the sorry state of affairs in FM programming. I usually only listen to XM radio. I have the boom box in my office at work and the car kit in my vehicle. The only time that I listen to anything else is I turn on the local AM news/talk station to hear traffic reports, usually only after I am in a traffic jam.
There used to be one station that I listened to on FM. It’s format was 80’s music. But they changed a while ago to 80’s – today, and I don’t particularly care for today’s pop music.
Now the local stations have done a format dance again. The oldies station is now country music (making it two country stations in the area), and the former 80’s station is now oldies (which is now defined as 60s-80s).
It has been tried in the past to have two country stations in the area. It hasn’t worked in the past, but that doesn’t keep radio stations from trying. I just wish the established country station would be the one to change format and dump their morning show. And this is mainly because their morning show has a guy pretending to be an old woman. That just drives me nuts.
As far as I know there are only two FM stations in the area that have kept the same format for years. One is the aforementioned country station, the other is the classic rock station. The one-time 80’s station was a gospel station when I moved to this area.
Enough ranting. Back to regularly scheduled programming
Leave a Comment » |
Uncategorized |
Permalink
Posted by Michael
January 15, 2007
As I sit here, it is now Monday night. I don’t have much to show for my free time over the weekend. No finished product, no finished website, nothing.
Well, I did get the domain name and hosting set up. That took about 15 mins. I played around with the IDE, but haven’t finished anything. Now I looking at refactoring just about all my code to make it prettier and to have it use just one XML file to store everything. I may just leave it using 2 files, just to save time.
But just managing to get started in the evening is tough. Right now I am installing Win98SE in Virtual PC 2004. Between web surfing, playing the PS2 with my son, and playing with my other son, I usually do not sit down at the computer until 8:30pm. Because this is not my ideal coding time, I have trouble convincing myself to get busy instead of playing games, etc. My ideal time to code is from 10pm – 2am, but that is not compatible with first shift job that pays the bills!
I remember reading something on Joel’s blog about there being a bug in the process between thinking about opening the IDE and actually opening it. I definitely suffer from that bug!
So what I have done is download TimeSprite. Hopefully the fact that I am monitoring my time will provide some incentive.
Leave a Comment » |
Business, MicroISV |
Permalink
Posted by Michael