IE8 Beta 2 Bug: Disabled listboxes do not show selected items

by Dominic Zukiewicz 27. November 2008 12:01
I've found a bug with IE8 Beta 2 (in both IE7 and IE8 browser modes) where list boxes that, although disabled but containing selected items, do not show the selected items. Here is an example of what should be displayed I am selected Not selected I am selecting this as well! Not selected either I am selecting this too! I am selecting this again! For those of you who are not using IE8 Beta 2, here is what it appears like: I am selected Not selected I am selecting this as well! Not selected either I am selecting this too! I am selecting this again! I have logge... [More]

Tags:

Misc

Internet Explorer 8 (IE8) does not generate new Session IDs for new tabs and windows

by Dominic Zukiewicz 20. November 2008 09:15
One of IE8's new features is a that when closing a window or tab, it can remember the session ID and therefore maintain the session with a website. This is an advantage if you accidentally close a window or tab, but there is a problem. For example, if you have several logins for a site, each login giving totally separate functionality of the site (e.g customer and administrator), then you may close your browser and login as someone else. What you may find is that when you open a new window, you are already logged in as the other person. Why does this happen? IE8 seems to use the first window... [More]

Tags:

Misc

Delayed Write Problem on $MFT and $Bitmap on an external hard disk

by Dominic Zukiewicz 12. November 2008 09:23
I put my VPC's on my external hard disk and run them off there, as the hard drive can run independently of Windows. I've noticed over the past few months, that randomly, my external USB 2.0 hard drive (Freecom 400GB) disconnects for no reason and I get a balloon in the system tray with the title "Delayed Write Problem" , then something to do with G:\$MFT or G:\$Bitmap. Yesterday, I was defragmenting my external hard disk and noticed it kept happening. I turned it off and on again, started defragmenting and the same problem happened. I thought it might be the writing caching, which helps im... [More]

Tags:

Misc

ActiveSync and Proxy Server

by Brad 4. September 2008 07:38
Our network guys recently added a proxy server to our network which has caused my Windows Mobile device to no longer sync with Exchange via ActiveSync. I thought that's annoying but its ok I will just set the proxy settings in ActiveSync... To my disapointment ActiveSync doenst have that option! After some investigation I discovered that if you change the "This computer is connected to:" value to "The Internet" (rather than "Automatic") it works fine! So in summary, with your device connected, in ActiveSync go to: File > Connection Settings > This computer is connected to: > Th... [More]

Tags:

Misc

Better IIS Logging

by Brad 16. May 2008 10:36
I was recently trying to check if IIS's SMTP sever was working correctly. To help I turned on the logging, leaving the default "W3C Extended Log Format" selected. I sent the test email and checked the log - to say it was unhelpful is an understatement! I was wrongly assuming that "extended" format meant it would have more information than the other logging formats which didn't have "extended" in their name! Enter Steve who suggested I change the format to Microsoft IIS Log File Format (shown in the image below). I did, and the log file was suddenly completely what I was expecting and I could ... [More]

Tags:

Misc

RDP: Keyboard Shortcuts

by Brad 2. March 2008 13:29
I recently stumbled across these Remote Desktop keyboard shortcuts so thought I'd share them... RDP Session Local Equivalent Description CTRL + ALT + END CTRL + ALT + DEL Windows Security Dialog CTRL + ALT + BREAK (none) Toggle RDP from window to Full Screen ALT + INSERT CTRL + ALT + TAB Cycle through running programs ALT + HOME WINDOWS Open Start Menu ALT + DELETE ALT + SPACEBAR Open Control Menu ... [More]

Tags:

Microsoft Server 2003 | Misc

Using delegates to simulate WaitHandle.WaitAll() calls for web service - Part 1

by Dominic Zukiewicz 7. February 2008 14:14
This article is part 1 of 2 articles. Wouldn't it be great if you could call a web service hundreds, if not thousands of times, and then just wait until the results come back, rather than doing it one at a time? The System.Threading namespace created WaitHandle.WaitAll(), but this is only useful for threads - how do you call lots of web services asynchronously, and then continue once they have all returned? Well, one could argue why don't you just call them synchronously? Good idea, but it just means that those extra seconds of time taken waiting, could be put to use by another web se... [More]

Tags:

Framework | Misc

Tooltips in Firefox do not span mulitple lines

by Dominic Zukiewicz 16. January 2008 09:20
Short but sweet .... If you've ever created a toolip using the "title" attribute of an anchor stage, you might expect that if you span multiple lines, the tooltip would also span multiple lines? On IE 6+, this IS the case, but on Firefox 1.0+, they do not. The way around it? Don't depend on mulitple lines! After researching this, I found a referenced article to a bug at https://bugzilla.mozilla.org/show_bug.cgi?id=358452 , which says they are working on it, but isn't working on Version 2.0.0.11of Firefox. Tooltips really are snippets of information relating to the link. If you are dep... [More]

Tags:

Misc

Virtual PC 2007 does not go into fullscreen mode with multiple monitors?

by Dominic Zukiewicz 15. January 2008 11:08
My setup is a widescreen laptop on my left (primary monitor) and a 19" flatscreen on my right. My laptop is plugged into a Dell docking station. I use Microsoft Virtual PC 2007 to host my development environment on my 19", but sometimes find that when going to fullscreen (CTRL-ALT-ENTER), the VPC window disappears from both my desktops and is only usable from a reduced version. I have found that the only way around this was to go into the Display Settings, disable the second monitor, click Apply and OK and then return to the Display Settings and re-enable the second monitor. The fulls... [More]

Tags:

Misc

Connect to console using RDP

by Brad 23. October 2007 09:47
If you've ever got the following annoying message when trying to RDP to a remote server: "The terminal server has exceeded the maximum number of allowed connections. The system cannot log you on. Please try again or consult your system administrator" Then normally you've got to either ask another user to log off (not easy if its a remote server) or wait for them to. A little known trick is to use the following command line parameter when launching remote desktop: /console From the command prompt type: mstsc /console This will launch it in console mode, which in layman's terms me... [More]

Tags:

Misc | Microsoft Virtual Server 2005

NetworkService does not work across domains

by Dominic Zukiewicz 23. October 2007 08:25
The Windows Service I built needed to access a web service on another domain (and in production on another server over the internet). The admin made the service run as NetworkService to reduce the security permissions. I received an error stating: "System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it" The error, in my case, was not to do with a firewall, or a connection problem with regards to TCP/IP, its purely that the NetworkService account cannot  a)  ... [More]

Tags:

Misc

MS DTC on a cloned VPC

by Dominic Zukiewicz 1. October 2007 14:59
I was trying to debug an issue, where my application was using Distributed Transactions to do database access. The data was to be inserted across 4 databases in a transaction, where it was an all or nothing. The environment was configured as 2 clusters: 4 VPCs that were all cloned (app layer). This cluster talked to another cluster of DB VPC's (data layer), each being a clone of the original image. Anyway, here is the error I was getting: An error occurred while enlisting in a distributed transaction MS DTC was running on both layers, so this error wasn't very helpful. The next... [More]

Tags:

Misc

Error not found - is that an error then?

by Dominic Zukiewicz 21. September 2007 11:30
I had an error message when using Transactions in .NET 1.1.  The error is: Error: System.Data.SqlClient.SqlException: Import of Microsoft Distributed Transaction Coordinator (MS DTC) transaction failed: 0x8004d00e(error not found). It may be rhetorical - but is that actually an error?

Tags:

Misc

gacutil exited with code 9009

by Dominic Zukiewicz 17. September 2007 15:47
When using the build scripts to automatically GAC a component, I came across the error where it failed, returning code 9009. I found a useful post that is short and sweet to explain why: In summary, don't rely on VS to navigate the PATH environment variables. Instead, point to it yourself!

Tags:

Misc

C# Wikibooks

by Dominic Zukiewicz 3. September 2007 12:47
I've been using my lunch breaks to help contribute to the Wikibook for C#, available at: http://en.wikibooks.org/wiki/C_Sharp_Programming So far I've added entries to: "implicit" definition "base" defintion Factory Design Pattern Console programming Events and delegates .NET framework definitions There's still loads needed to help bring the book up to scratch, so any help is appreciated!

Tags:

Misc

Cryptography without key management!?

by Dominic Zukiewicz 25. July 2007 09:10
In order to encrypt data, you need a key and the data itself. The problem comes when you need to securely store the key! Rather than go through a process of showing you how to retrieve secret keys from .exe files (which is no secret in itself!), I'm going to show you a quick way of using a key which you don't have to know in advance, you just use! .NET introduced the System.Security.Cryptography in 1.0, but the 2.0 edition added the DPAPI extension. Rather than waffling on, lets just jump into an example. The class we're focusing on is the ProtectedData class: using System; ... [More]

Tags:

Misc

Fiddler 2 released

by Dominic Zukiewicz 1. May 2007 09:14
Microsoft have released Fiddler Version 2(.0.8.8) of their application. One issue I found is that I installed version 2 over version 1.x, and since it installed it in a different directory from version 1.x, it removed a shared ActiveX control upon uninstallation. If, when loading Fiddler on Version 2, you see the following error appear: Remove version 2.x, and then re-install it. You should have no problems. Thanks to Eric Lawrence for his quick reply on the subject.

Tags:

Misc

Creating installations for websites

by Dominic Zukiewicz 16. April 2007 16:18
Websites are a bit too complicated to set up automatically. Aren't they? I've written an article to show you just how easy the process is! http://blogs.bdnet.co.uk/dominicz/archive/2007/04/19/Creating-installations-for-websitesAgain.aspx

Tags:

Misc

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar