thefrozencoder

Programming and Technology blog

Windows 2008 and Me No More

So I decided that the disappearing mouse issue bothers me to much and went back to Windows XP (but not before making an image of the partition incase I wanted to go back after SP1 is released).

Of course before that I had to try the Vista image that came with the laptop, so I reinstalled it and BOOM, same problem.

Ahh Crap...

Oh wait maybe I’ll install SP1 for Vista and see it that helps. So after several reboots and a half an hour later I came to the conclusion that Yay! The disappearing mouse problem on my HP Laptop with an Nvida chipset using Dual Display is fixed (in my case) by installing Vista SP1. Sorry if that felt a bit wordy but search engines love wordy.

Windows 2008 and Me

So I decided to install Windows 2008 on my HP dv9000 series laptop and use this guide to create a better than Vista experience using a more solid OS than the POS that is Vista. The install went as expected and I was able to update the missing drivers using the Vista ones that came with my laptop (yeah I know Vista drivers on Win2k8 so sue me)

So far so good, oops I spoke to soon…

Seems that I have inherited the disappearing mouse pointer syndrome. First I don’t have the computer set up to hibernate, second I don’t have the computer setup to go into screen saver first then turn off the monitor and third this behavior tends to happen every time the monitor either comes out of screensaver or from turned off. Searching Google has made me believe that this is a HP/Nvidia/Vista/Dual Monitor issue as there are a lot of HP/Nvidia/Vista/ Dual Monitor owners suffering from this behavior. The lame solution is to enable pointer trails and set the visibility to short when this happens. Of course this causes a performance drop with the speed of the mouse.

I am going to try and install Vista this weekend and see if I have the same problems with that OS and driver combination. If so it’s back to XP Pro for me.

Example of the ASP.NET MVC framework

Finding a good well rounded example of the new ASP.NET MVC framework might be a hit or miss these days. Most of them are either really small or are incomplete. I found one that may or may not be either of the two but it seems to implement a lot of interesting ideas along with the code. So if you want a larger example of the new framework you might want to check out Kigg - Building a Digg Clone with ASP.NET MVC the code is also available on codeplex as well.

TinyMCE, ASP.NET and validation

The following describes how to use a custom validator function along side TinyMCE to validate the contents of the textarea.

Add the custom validator and setup the properties as you normally setting the ControlToValidate to the ID of the textarea and the ClientValidationFunction to the function name you see below (this can be changed of course).

The key is to call TinyMCE's triggerSave() method so the editor can synch up to the underlying textarea. Once this is done the textarea now has content.

<script language="JavaScript" type="text/javascript">
function validateTinyMCEText(source, args) {   
var txt = document.getElementById(source.controltovalidate);
tinyMCE.triggerSave();
args.Value = (txt.value.replace(/^W+/,'')).replace(/W+$/,'');
args.IsValid = (args.Value != '');}
</script>

Hopefully this will help out a few people

Microsoft, Vista, Server 2008 and Me

Seems that everyday you hear about Vista and how poorly it is doing when it comes to adoption and basic performance. It also seems that end users are not the only ones that are crying the Vista blues, even MS’s own employees are now getting on the band wagon.

Well sort of...

There are several documents showing up on the internet as well as Microsoft’s own MSDN blog sites on how to make Windows 2008 into a super desktop OS. I guess if Microsoft’s own employees are scoffing at Vista then it must be true. Vista is as big a flop as the PS3. But for all you MS fanboys out there Windows 7 is churning full steam ahead and will probably be a smash hit. Why you ask?

Windows 3.0 = Bad
Windows 3.11 = Better
Windows 95 = Bad
Windows 98 = Better
Windows ME = Bad
Windows XP = Better
Windows Vista = Bad
Windows 7 = ?????

Get the point?