August 2004 - Posts

VS.NET 2005 September CTP
31 August 04 09:21 PM | mhawley | with no comments
Just saw from Wally that the VS.NET 2005 September CTP bits are available on MSDN. 16 hours for him, eek! 3-5 hours for me
Filed under: ,
Website Transition
30 August 04 04:42 PM | mhawley | with no comments

I just moved my site from my current hoster over to WebHost4Life and my DNS changes look like they're starting to propogate. So, if you notice any quirkiness in the next few days, that is why. Also, its quite possible any forum posts that were entered around the switchover time will be *lost* (actually, they won't be brought over).

Update: Downloading my controls and viewing my forums now works. Sorry to those who attempted to download the controls and couldn't. Thats what you get with a website transition.

Filed under:
Global Controls in ASP.NET 2.0
29 August 04 05:59 PM | mhawley | 1 comment(s)
So this just purely rocks. Not only will we only have to define it in 1 space, but we get intellisense too? Wow, I can't wait
Filed under:
Context Menu -> Sub Menu Problem
26 August 04 04:40 PM | mhawley | with no comments

So I ran into a bit of a speedbump this afternoon while working on Unleash It. I was trying to add menu items to a sub menu of a context menu for the Notify Icon (boy is that a mouthful to say (and also to write)). Well, it seems that there is a bit of a known bug that isn't broadly stated when creating sub-menu items dynamically...and that is that once you've created them, and try to recreate them, they never appear.

So, after a bit of googling, I came across this thread and determined that the easiest hack around this is to set your sub-menu's visibility to false then to true again. This, of course, was much easier than having to recreate the entire context menu, which is the other proposed solution.

So, if you've never ran across this problem before, make a mental note of this if you should ever happen to want to do something so remotely insane as me, or other people out there that do it as well.

Filed under:
Configuration Error - Solved
24 August 04 03:04 PM | mhawley | 1 comment(s)

For the last few days, I've been having the problem of "Configuration Error - Access is denied" in one of my web applications that I've been building. Well, today was the breaking point. After restarting my computer roughly 10 times in 45 minutes, I decided to google it. Alas, I found this KB article that explains why its happening and how to solve it.

The "quickie" fix for this is to go to Indexing Services and explicitly exclude the temporary ASP.NET folders from Index Services. Read the article to actually figure out how to do that, I'm assuming you can read more than 1 webpage since you're reading this.

I think this is going to be one of those "Must Do When Rebuild Machine" tasks that I'll forget to do, yes I did say forget. How often do you remember the peculiarities in your setup...

Filed under:
Get OS Name and Version
23 August 04 04:26 PM | mhawley | with no comments

Awhile ago, I had come across an article describing on how to get the current operating system version and name through .NET. While this article was great for Windows XP and prior OSes, it didn't really pan out too much for Windows 2003 Server and Longhorn. So after a bit of digging to determine the version numbers (thanks to Adam for getting me the current Longhorn version #) I was able to successfully map the correct versions/names. Here's my code:

private string GetOSName()
{
System.OperatingSystem os = System.Environment.OSVersion;
string osName = "Unknown";


switch(os.Platform)
{
case System.PlatformID.Win32Windows:
switch(os.Version.Minor)
{
case 0:
osName = "Windows 95";
break;
case 10:
osName = "Windows 98";
break;
case 90:
osName = "Windows ME";
break;
}
break;
case System.PlatformID.Win32NT:
switch(os.Version.Major)
{
case 3:
osName = "Windws NT 3.51";
break;
case 4:
osName = "Windows NT 4";
break;
case 5:
if(os.Version.Minor == 0)
osName = "Windows 2000";
else if(os.Version.Minor == 1)
osName = "Windows XP";
else if(os.Version.Minor == 2)
osName = "Windows Server 2003";
break;
case 6:
osName = "Longhorn";
break;
}
break;
}

return osName + ", " + os.Version.ToString();
}

Adam has also informed me that in Longhorn, or rather .NET 2.0, there is a new property that will return this for you, VersionString.

Filed under:
No More Stored Procs!
20 August 04 02:07 PM | mhawley | with no comments
This method is way better than using stored procedures, oh yeah. You can change them on the fly, and not even have to acess the database. Now, how to do inserts/updates/deletes...
Filed under:
Bothered by the Olympics?
18 August 04 01:18 PM | mhawley | 1 comment(s)

Exactly how bothered are you by the Olympics already? Well, there obviously is some people who just don't want to see anything about the Olympics.

Go to Yahoo, and over on the right hand column, check the "Hide Olympic results on this page" checkbox. Now, notice what happens, stuff dissapears dynamically. The really funny part is when it makes things dissapear from the bullet list of items just above it.

Thanks to my co-worker for pointing this out...now, back to my non-reading Olympic information only

Filed under:
WebDeploy Rebranded!
16 August 04 10:02 AM | mhawley | 7 comment(s)

The naming contest that has entertained me for the last week has finally come to an end. Over 50 name suggestions came through the pipeline, some duplicates, some hilarious, and some just great. However, one name stood out amongst the rest that was just perfect. After having some internal discussions with Jeff, Ryan, and Adam, we all pretty much came to the same conclusion, this was the name.

So, congratulations to Mike Mahon for submitting the winning name. WebDeploy will no longer be called as such, and will be officially known as "Unleash It". I've also been working on a few images for Unleash It, and here is the main logo that I will be using:

While webloggers that love and use Unleash It can support it by using the following image on their weblog/site:

Currently there is no release for Unleash It. I'm working on version 2.0 based off of WebDeploy's source, and won't be out for another week or two. At the same time I'll be launching a place on my site for information on Unleash It so anyone and everyone can see how things are progressing. Linkbacks from the images above should point to the site once it is up, however for right now just link to the Unleash It category on my weblog.

Again, thank you to all who submitted their ideas, and definitely a big congratulations to Mike Mahon for submitting such great ideas.

Filed under:
Naming Contest Extension
12 August 04 10:11 AM | mhawley | with no comments

I just realized that I'll be going out of town this weekend, and as such I won't be able to make my decision until I return. So, because of this circumstance, I will be extending the WebDeploy Naming Contest until Sunday, August 15, 2004 at 11:59 PM CST.

More and more suggestions come in everyday, so don't let your idea get overlooked.

Submit Now! | Get More Info

Filed under:
More Posts Next page »

This Blog

News

.NET Links

Blogs I Read

Syndication