DataRow.SetParentRow Method

I've noticed an existence of DataRow.SetParentRow Method.
MSDN documentation is quite brief: Sets the parent row of a DataRow with specified new parent DataRow.
 
It wasn't clear does the functions fills foreign key values in the child row from the parent one.
Thanks to Reflector, I confirmed, that it does SetKeyValues .
 
Please note that from performance point of view it is important to call SetParentRow first and add the childRow to the child table later..

Shortkey Alt-B,U is ambiguous in Visual Studio 2008 team edition

 
In Visual Studio I like to use shortkey Alt-B,U to start build of the current project.
However in VS 2008 team edition it doesn't start the build, but just opens menu and waits for extra "Enter" click.
The reason is that on the Build menu,there is extra "Queue new build" menu item with the same u shortcut, which conflicts with "Build Project"  menu item.
The issue reported to MS Connect and they told, that it is fixed in a future release.
 
Is it possible to change alt shortkeys for standard menu items?

I know that I can assign new shortkeys using Customize, but my hands need  to remember this new key, and my preference is to hide-disable  shortkey for "Queue new build" , which I am not using anyway.

QuickCode.Net 2008 new TAB shortcut key

QuickCode.Net  has a new free 2008 version.

UPDATE: in a new release 3.0.6. it's possible to assign any shortcut key. In VS 2008  Customise keyboard  I've selected command QuickCode2008.AddIn.ReplaceQuickCode  and assigned a shortcut key Alt-Q.

It uses <TAB> instead of previously assigned Alt-Q hotkey.

<TAB> is consistent with standard VS snippets.

 If you press the TAB key after your QuickCode, e.g.

tc<TAB>

the QuickCode will expand.

If the same pattern exists in snippets and QuickCode, the VS snippet goes first. QuickCode deliberately does NOT expand QuickCodes while Intellisense is active.

After some use of new QuickCode.Net 2008  I understood that I prefer old Alt-Q , not new Tab

 

 The reasons for this are the following:
1. when typing, because of active Intellisense list it usually requires to do <ESC> to clear list , and only then <Tab> , instead of simple <Tab>
2. To clicking <Tab>, you need to be at the end of line.
E.g. if you typed your macro and want to fix typo in the middle of the line , you neet to go to the end of the line next.
Alt-Q didn't have this requirement.
3. Parameter with spaces doesn't work with TAB.
E.g. I have a macro
#r Region description with spaces
that converts into
#region  "Region description with spaces"
#endregion  //"Region description with spaces"

It worked with Alt-Q, but when using TAB, spaces within parameter are not supported.

Ideally it would be good if QuickCode  will support both keys. 

Related link(s):

My older post: QuickCode commands file location

 

"Login failed for user" may mean "database name is invalid"

One of my colleagues tried to work with a new database from DevServer and got an error "Login failed for user".
We checked everything related to security and permissions, but it didn't help.
After a while we recognize that there was spelling mistake in the name of the database in connection string.
In this case  "Login failed for user" error actually meant  "database name is invalid"
 
Why it wasn't shown as a reason in plain English?
 
Other possible reason for the errors are described in multiple articles, including following:
«July»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789