Udostępnij za pośrednictwem


MohamedG's Log

TW9oYW1lZCBFbC1HZWlzaA==

scanf() vs cin

It has been a while since the last time I wrote some C code, since I come from a C++ background,...

Author: Mohamed Mahmoud El-Geish Date: 03/29/2009

Cartoon #4: Super

base (C# Reference)

Author: Mohamed Mahmoud El-Geish Date: 03/26/2009

Cartoon #3: Partial

Partial Classes and Methods (C# Programming Guide)

Author: Mohamed Mahmoud El-Geish Date: 03/26/2009

Cartoon #2: Sealed

Sealed (C# Reference)

Author: Mohamed Mahmoud El-Geish Date: 03/25/2009

How to: Disable Multiple Check-out on a Folder?

There’s no direct way to do that. Multiple check-out is a property of a team project, it's not...

Author: Mohamed Mahmoud El-Geish Date: 03/24/2009

Cartoon #1: Shelve it!

Did I mention that I’m a cartoonist? As you can see I draw my cartoons using OneNote. I hope this...

Author: Mohamed Mahmoud El-Geish Date: 03/24/2009

How to: Find Distinct Changes by User?

You can find changesets if you open Source Control Explorer and hit Ctrl+G or choose Edit > Go...

Author: Mohamed Mahmoud El-Geish Date: 03/23/2009

How to: Include Missing Files in a Project?

In a previous post, the solution to that problem included manual intervention. There’s an easier...

Author: Mohamed Mahmoud El-Geish Date: 03/23/2009

Deny: Revisited

In a previous post, I talked about the deny option and how it’s evaluated. The documentation on MSDN...

Author: Mohamed Mahmoud El-Geish Date: 03/23/2009

!exploitable

!exploitable is a crash analyzer plug-in for windows debugger (windbg) that does post-mortem...

Author: Mohamed Mahmoud El-Geish Date: 03/23/2009

Merges

When you would like to know what changes have been merged already between a source and a target you...

Author: Mohamed Mahmoud El-Geish Date: 03/21/2009

How to: Find Source and Target Names for a Rename?

If you view the history of an item that was renamed, you will see an entry like this in the history...

Author: Mohamed Mahmoud El-Geish Date: 03/20/2009

Files are Missing from Solution Explorer

A customer was asking about this issue when he can see a certain file in source control explorer and...

Author: Mohamed Mahmoud El-Geish Date: 03/19/2009

Thoughts on Setting Permissions on Non-existent Items

Permissions in TFS are namespace based. The namespace doesn't have to exist to set a permission on....

Author: Mohamed Mahmoud El-Geish Date: 03/19/2009

TFS and HTTPS

Here’s a walkthrough to setup TFS with HTTPS. There are some tips that you may find useful: You may...

Author: Mohamed Mahmoud El-Geish Date: 03/19/2009

Deny

Some thoughts about permissions, especially deny. Why deny? Because deny is the best way to apply...

Author: Mohamed Mahmoud El-Geish Date: 03/18/2009

How to: Preview check-in conflicts?

When you check-in, TFS will warn you that you have conflicts and the check-in fails. However, you...

Author: Mohamed Mahmoud El-Geish Date: 03/17/2009

One or More Projects in the Solution Could not be Loaded

If you see this error: "One or more projects in the solution could not be loaded for the following...

Author: Mohamed Mahmoud El-Geish Date: 03/17/2009

How to: Change File Encoding?

While merging or comparing files using the DiffMerge tool, and files have different encoding, you...

Author: Mohamed Mahmoud El-Geish Date: 03/17/2009

How to: Merge Items that were not Branched?

This post is not about merging an existing item to an non-existing one, which will be a (merge,...

Author: Mohamed Mahmoud El-Geish Date: 03/17/2009

New keyboard shortcuts in Windows 7 Beta

For those who like the keyboard more than the mouse, here are some of the new keyboard shortcuts...

Author: Mohamed Mahmoud El-Geish Date: 03/15/2009

Conflicts

To understand conflict types please read this article on MSDN. In this post I’ll focus on conflicts...

Author: Mohamed Mahmoud El-Geish Date: 03/11/2009

Teamprise

Software houses use different development platforms to suit their needs, but it’s more convenient to...

Author: Mohamed Mahmoud El-Geish Date: 03/10/2009

How to: Enforce get latest before check-in?

One of our customers had this problem: developers on his team forget to get latest before check-in...

Author: Mohamed Mahmoud El-Geish Date: 03/10/2009

How to: Branch without getting any files?

If you want to save time and network bandwidth when creating a branch, you can use tf branch /noget...

Author: Mohamed Mahmoud El-Geish Date: 03/10/2009

How to: Clean TFS cache?

If your TFS client cache is corrupted, you might see this error:---------------------------Microsoft...

Author: Mohamed Mahmoud El-Geish Date: 03/09/2009

How to: Tell if files are identical using TFS APIs?

In a previous post, I answered this question using Diff APIs, which will require the items to be...

Author: Mohamed Mahmoud El-Geish Date: 03/09/2009

How to: Use tf merge /discard?

In a previous post, I mentioned some details about merge history bookkeeping. In a nutshell, when...

Author: Mohamed Mahmoud El-Geish Date: 03/09/2009

How to: Modify an existing changeset?

I’m glad you asked, searched, and eventually got here, because the answer is: you can’t! You can...

Author: Mohamed Mahmoud El-Geish Date: 03/08/2009

How to: Listen to TFS event notifications?

If you need to listen to TFS event notifications, you can subscribe to checkin event and make the...

Author: Mohamed Mahmoud El-Geish Date: 03/08/2009

How to: Diff files using TFS APIs?

You can use the Difference.DiffFiles method which compares two files using the internal diff engine,...

Author: Mohamed Mahmoud El-Geish Date: 03/08/2009

How to: Merge up to a specific version?

Merging is transferring changes from merge source to merge target, just like any transaction, it’s...

Author: Mohamed Mahmoud El-Geish Date: 03/07/2009

How to: Shrink TFS databases size?

You may try the following: Shrink SQL transaction log files using DBCC SHRINKFILE (see this KB)...

Author: Mohamed Mahmoud El-Geish Date: 03/03/2009

How to: Show last changed date for an item?

If you haven’t already done so, go ahead and install VS 2008 SP1 to show the last check-in date...

Author: Mohamed Mahmoud El-Geish Date: 03/01/2009

How to: Kill a process on the Team Foundation Server?

You can use the administration web service, if you have permission, to kill a process on the server....

Author: Mohamed Mahmoud El-Geish Date: 03/01/2009

How to: Sync files in different team projects when one of them is changed?

Here’s an interesting scenario, there are several files in several team projects that need to match...

Author: Mohamed Mahmoud El-Geish Date: 03/01/2009

History dialog vs tf history /i

Did you notice that when you show folder history in the history dialog you end up with more entries...

Author: Mohamed Mahmoud El-Geish Date: 03/01/2009

How to: Flush workspaces cache?

You may run this command: tf workspaces /s:yourTFS This will flush the cache for that server and...

Author: Mohamed Mahmoud El-Geish Date: 03/01/2009

How to: Port a specific changeset?

Merge enables you to specify a range of versions to merge over. This means that you can merge a...

Author: Mohamed Mahmoud El-Geish Date: 02/28/2009

How to: Find the latest version of an item?

for /f usebackq %i in (tf hist itemSpec /i /stopafter:1) do @if %i neq Changeset if %i neq...

Author: Mohamed Mahmoud El-Geish Date: 02/28/2009

Merge Change Type vs Merge, Branch Change Type

While merging merging branches, you may see change types like "merge" and "merge, branch". When you...

Author: Mohamed Mahmoud El-Geish Date: 02/28/2009

TFS 2008 SP1

Along with VS, VSTS, and .NET 3.5 SP1, TFS 2008 is here. Please read the details about SP1 in Brian...

Author: Mohamed Mahmoud El-Geish Date: 08/15/2008

TFS July 2008 Power Tools

TFS July Power Tools Released! The tools are available here: TFS July 2008 Power Tools.  See...

Author: Mohamed Mahmoud El-Geish Date: 07/16/2008

Alerts Editor

This July, TFS Power Tools introduce new features, one of which is the Alerts Editor. You can read...

Author: Mohamed Mahmoud El-Geish Date: 07/09/2008

TFS Event Subscription Tool

You can subscribe to get email alerts when certain events occur in a Team Project using Project...

Author: Mohamed Mahmoud El-Geish Date: 06/30/2008

How to: Show deleted item in Source Control Explorer?

You can use the /deleted switch with tf dir to list deleted items along with existent items. To...

Author: Mohamed Mahmoud El-Geish Date: 06/25/2008

Using the /version argument

Whenever you need to specify the version for an item, you can use /version or /v. By default, it...

Author: Mohamed Mahmoud El-Geish Date: 05/22/2008

Not checked out and not read-only

To list files that are not checked out and not read-only, you can use tfpt online. The command is...

Author: Mohamed Mahmoud El-Geish Date: 04/30/2008

April's fool: BSOD screen saver

A nice harmless April's fool is to install BSOD screen saver, it looks so real and it can fake HDD...

Author: Mohamed Mahmoud El-Geish Date: 04/01/2008

<Previous Next>