Opera 10.5 Beta is out and it’s very impressive, and looks pretty stunning due to its Windows 7 integration.
One thing I don’t really like is how it shows all the tabs using Aero Peek when you click it in the Task Bar.
You can turn this off:
On Windows Vista 64 and Windows 7 64, there is a 32 bit version of Remote Desktop Connection (Microsoft Terminal Services Client, mstsc.exe) in %SystemRoot%\SysWOW64.
Running this mstsc.exe will launch the 32 bit process but it will instantly launch the 64-bit mstsc.exe from System32 and shut itself down. This makes it impossible to run Remote Desktop Connection 32 bit.
This is a problem when you have 32 bit Terminal Services add-ins (which won’t run under 64 bit).
Solution: Rename the 64-bit mstsc.exe from System32 to prevent it from replacing the 32-bit process.
This is simple if you have rights to rename that file. If you’re on NTFS you may get a “You require permission from TrustedInstaller to make changes to this file” error.
To get by this error, you can take Ownership of the file and give yourself full permissions:
Now, you can rename the file mstsc.exe to something like mstsc.exe.bak
Then, you can launch mstsc.exe from %SystemRoot%\SysWOW64 and you will have 32-bit Remote Desktop Connection running.
Tags: 64, 64bit, mstsc, mstsc.exe, remote desktop, system32, syswow64, terminal services, vista, windows, windows 7, windows7, x64, x86
Microsoft Security Essentials is a free anti-virus program.
All of the free anti-virus programs out there have usually pretty quickly fallen out of favour with me, in particular the previous community darling AVGFree.
Having a free option from Microsoft, that performs extremely well with minimal resource usage, is a boon.
For privacy reasons, you might want to opt out of the Microsoft SpyNet. Opting out is a very manual process though, with instructions here
Download Microsoft Security Essentials
Tags: anti virus, antivirus, avgfree, essentials, microsoft, security, spynet
I find I have to generate GUIDs often (mostly due to using WiX) and the in-built Tools > Create GUID tool is too cumbersome for this.
I found a blog post that has a simple macro you can customize to bind a keyboard shortcut to paste in a new GUID
Here are some full instructions, using their simple macro code:
Public Sub PasteNewGuid()
DTE.ActiveDocument.Selection.Text = "{" & System.Guid.NewGuid().ToString("D").ToUpper() & "}"
End SubTags: 2008, guid, macro, new, paste, visual studio, vs, vs.net
I’m not sure of the exact details, but this is what I think I’ve found. Perhaps someone at Microsoft would correct or elaborate on this.
Previously, actxprxy.dll (ActiveX Interface Marshaling Library) was used as the proxy for a multitude of system interfaces, such as IShellFolder and IServiceProvider.
In Windows 7 (and probably Vista also), the GUID of this library has changed from {B8DA6310-E19B-11D0-933C-00A0C90DCAA9} to {C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}
Secondly, there is also a new Proxy/Stub provider found in ieproxy.dll of Internet Explorer (IE ActiveX Interface Marshaling Library). Some interfaces that previously used actxprxy.dll are now registered to use ieproxy.dll.
Now various problematic software (such as Vault 3.x) will try to register against actxproxy using the old GUID, and for interfaces now proxied by ieproxy.dll.
You must use regsvr32 to re-register the two proxy DLLs, then reboot
You can use the below batch file to do this.
You must run this batch file with administrative privileges (right click on the file and choose Run as administrator):
If you don’t run the batch file as an administrator, you will get an error as pictured:
[Download RegisterActxprxyAndIeproxy.cmd]
RegisterActxprxyAndIeproxy.cmd source:
@echo off :: 32 bit and 64 bit IF EXIST "%SystemRoot%\System32\actxprxy.dll" "%SystemRoot%\System32\regsvr32.exe" "%SystemRoot%\System32\actxprxy.dll" IF EXIST "%ProgramFiles%\Internet Explorer\ieproxy.dll" "%SystemRoot%\System32\regsvr32.exe" "%ProgramFiles%\Internet Explorer\ieproxy.dll" :: 64 bit only (32bit on 64 bit) IF EXIST "%WinDir%\SysWOW64\actxprxy.dll" "%WinDir%\SysWOW64\regsvr32.exe" "%WinDir%\SysWOW64\actxprxy.dll" IF EXIST "%ProgramFiles(x86)%\Internet Explorer\ieproxy.dll" "%WinDir%\SysWOW64\regsvr32.exe" "%ProgramFiles(x86)%\Internet Explorer\ieproxy.dll"
Don’t forget to reboot after re-registering the DLLs!
Edit: The script has been updated to support 64-bit Windows
Tags: actxprxy.dll, explorer, ieproxy.dll, iserviceprovider, management studio, no such interface supported, open each folder, same window, sourcegear, sql server, team explorer, vault, {B8DA6310-E19B-11D0-933C-00A0C90DCAA9}, {C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}
Opera 10 Beta 3 is out! The timing is uncanny because the last time I did a clean install of Windows 7, Beta 2 came out hours after I had done a new install.
Today I installed Windows 7 RTM on my machine at work, and then hours later, a new beta of Opera 10. What the?
I’ve been writing some unit tests recently that test some multi-threaded functionality.
Typically this involves hooking up some event handlers then waiting for some asynchronous code to fire the event before proceeding with the unit test and assertions.
The ManualResetEvent class (MSDN) seems a good choice for this, and this post has a small example of using it in a unit test:
[Test()] public void AfterRunAsync() { ManualResetEvent manualEvent = new ManualResetEvent(false); TestTestCase tc = new TestTestCase(1, "", 0, 0); bool eventFired = false; tc.RunCompleted += delegate(object sender, AsyncCompletedEventArgs e) { Assert.IsInstanceOfType(typeof (TestTestCase), sender, "sender is TestCase"); bool passed = tc.Passed; string output = tc.Output; eventFired = true; manualEvent.Set(); }; tc.RunAsync(); manualEvent.WaitOne(500, false); Assert.IsTrue(eventFired, "RunCompleted fired"); }
Tags: .net, asynchronous, c#, events, mstest, nunit, threading, unit test
This details how you can debug an application running on a remote machine from Visual Studio on your local machine, as if the remote application was running on your local machine.
The keys are:
You have several options for launching the Remote Debugger.
It’s a good idea to run this as a Windows application as recommended by the Visual Studio 2008 Remote Debugger Configuration Wizard (and in my opinion easier to troubleshoot).
At this point if you’re not logged in as the new user you created, you might want to do that now so that you can run the Remote Debugger under them.
Once you’ve followed instructions for installing, run the remote debugger if it isn’t already by going to Start > Programs > Microsoft Visual Studio 2008 > Visual Studio Tools > Visual Studio 2008 Remote Debugger.
It should say that it’s running an instance similar to DebugUser@RemoteMachineName
Tags: .net, attach, debug, domain, local, machine, remote, remote debugger, remote debugging, visual studio, vs
The IPFilter Updater application now has its own page: http://www.davidmoore.info/ipfilter-updater/
uTorrent is one of the most popular BitTorrent clients out there. In my opinion it’s the best.
You can set up IP filtering in uTorrent to block bad seeds and peers from a list maintained by the community.
I’ve written a simple program that will download the ipfilter.dat from SourceForge and copy it into the file where uTorrent expects it.
Download uTorrent IPFilter Updater [ Requires .NET 3.5 ]
UPDATED 26 Jan 2010: Now requires .NET 3.5, and allows mirror selection
- Extract the files to a folder, and run IPFilter.UI.exe
- Wait for it to download the mirrors, select the one you want, and click Go
- Once the file has downloaded and extracted, you can close the window
Enhancements
Done:
- Download and extract zip file to speed up the download time and minimize the download usage
- Allow selection of mirror you want to use
To Do:
- Automation through command-line arguments, for scheduled tasks
Source Code: http://github.com/DavidMoore/IP-Filter-Updater/
You have two options:
Looking in the Log should show a message similar to “Loaded ipfilter.dat xxxxxx entries)”
Because IP ranges and addresses change often, it’s a good idea to update your filter list often too.
Tags: .net, bittorrent, bt, ipfilter, ipfilter.dat, ipfilterupdater, torrent, utorrent