TFS 2010 – Red X on Work Items (TF51535)

23/05/2010

TFS 2010 - Red X on Work Items (TF51535) I came across a very strange problem in Visual Studio 2010, for some strange reason one of the Users was unable to view Work Item in just Two project. Yes I’ve check permissions, clean cache and tested on a different computer but the same result each time. Microsoft Test Manager had the same problem and each time I tried to open the “Track” tab I got the following error: I’ve looked at the Window Event log(local machine) for errors but nothing, I checked the...

How To Enable Visual Studio 2010 Log

How To Enable Visual Studio 2010 Log To enable visual studio logger go to : C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (64bit OS) C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE (32bit OS) Edit “devenv.exe.config” (Make sure you close all open instances of Visual Studio) Add below text before </Configuration> tag,  and edit the location of the log file (E:\Backup\tf.log) <system.diagnostics>       <switches> ...

Window Hooks – Summary

17/05/2010

Window Hooks – Summary A week ago I received a question through my blog "How can I create buttons on top all open applications?", I didn't waste time and start writing about my solution to the question. So here is a series of posts regarding this question above: Add Your Control On Top Another Application – Part 1 (Win32) Add Your Control On Top Another Application – Part 2 (Win32) Add Your Control On Top Another Application – Part 3 (Win32) Add...

How To Change Default Language In Visual Studio

16/05/2010

How To Change Default Language In Visual Studio I've just installed Clean version of Visual Studio 2010 Ultimate and by mistake I choose my default language as Visual Basic. So each time I'm starting a new project the default language is Visual Basic and I need to waste couple of expensive seconds to choose C# under other languages. So here is how you change the default language in Visual Studio to the language you want. How To: 1. Open Visual Studio, Tools and Click "Import and Export Settings…" A wizard...

TFS 2010 Beta 2 and the Release Candidate Expiration is June 30, 2010

12/05/2010

Beta 2 and the Release Candidate Expiration is June 30, 2010 Brian Harry just post about the expiration date for both Beta 2 and the Release Candidate is June 30, 2010. So if you're still using Beta 2 or RC version of TFS 2010 hurry up and start planning Upgrade to TFS 2010 RTM.

Add Your Control On Top Another Application – Part 4 (Win32)

Add Your Control On Top Another Application – Part 4 (Win32) And here we are, the last part in this series – How to set Window Event using SetWinEventHook. In the previous posts we have found the Target window handle and his TitleBar position, we created a new Control(HoverControl) and placed him On Top the Target TitleBar, the only thing that left if to listen Target window events (Example: LocationChange) so we can move our HoverControl accordingly. We going to use some more NativeMethods to complete this task, get ready…. Go! Step 1: Add SetWinEventHook...

Add Your Control On Top Another Application – Part 3 (Win32)

10/05/2010

Add Your Control On Top Another Application – Part 3 (Win32) This is part 3 and we are almost done! The first post in this series Add Your Control On Top Another Application – Part 1 (Win32) we saw how to find window handle just by pointing the process, this was done by using Win32 native methods. In Add Your Control On Top Another Application – Part 2 (Win32) We used another native method that helped us to find target window position based on TitleBar info. This part will show...

Add Your Control On Top Another Application – Part 2 (Win32)

09/05/2010

Add Your Control On Top Another Application – Part 2 (Win32) In my previous post Add Your Control On Top Another Application – Part 1 (Win32) I’ve showed how to obtain window handle from process. Now I can assume that we have the window handle (If not read Part 1), now we need to get TitleBarInfo fro the TargetWindow, Using that data we can get the position of the window and more.  Download Project Step 1: Add GetTitleBarInfo and GetLastError Using GettitleBarInfo will allow us to get information from the Target application. ...

Add Your Control On Top Another Application – Part 1 (Win32)

06/05/2010

Add Your Control On Top Another Application – Part 1 (Win32) Couple of days ago I got an email asked me to help with creating a buttons on top all open applications, this has reminded me the CodedUI Recorder. As you can see from the picture when using CodedUI Testing you will see the “Currently Recording” notification on every active application you are recording. How? The design is to make the title bar window of the target application as the parent\owner window of the Control your want to add. ...

Enter Island – Bluetooth Radar = #1 Place

03/05/2010

Enter Island – Bluetooth Radar = #1 Place Three weeks ago I heard about the Enter Island competition and I have decide to compete and build the “Bluetooth Radar”. If you are not familiar with Enter Island competition here what you had to do, first to be from Middle East or Africa and to do one of the following: Publish a photo or a short video of your IT workspace on the contest’s Facebook page, publish any project you built with Visual Studio 2010 on the CodePlex...