Display: Cloud | List
Most Popular Tags
Results (52 total) All > comment (x)
Additional constructor (CComPtr::CComPtr)
There turns out to be an additional constructor: CComPtr(int nNull) throw() : CComPtrBase<T>(nNull) { } CComPtrBase asserts that nNull must be NULL. I found out about this the hard way in some refactored code because a HRESULT was converted automagically to a CComPtr. The 'great' thing is that if the returned HRESULT is S_OK, the assert won't complain and only later things will go wrong
Last modified by Thomas Lee on 1/29/2012 11:56:23 AM
Tags:  comment
Aligned on a DWORD? (SetDIBitsToDevice function (Windows))
I would've appreciated this document more if the author had not talked like this:The scan lines must be aligned on a DWORD except for RLE-compressed bitmaps.Because of this line, I wasted several hours to figure out meaning of it with trials and errors. Simply saying Size of each row in lpvBits (or number of columns x number of channels) should be a multiple of 4would be a lot easier to
Last modified by Thomas Lee on 1/24/2012 4:03:52 PM
Tags:  comment
I second the useless comment (How to: Hide a Menu Item in the ECB from SharePoint List Items)
This article could be useful, if it provided the details to get the task done.&nbsp; As it is, it really adds no value.
Last modified by Thomas Lee on 1/18/2012 9:06:53 PM
Tags:  comment
Obviously a new way of doing "TDD" (Walkthrough: Using TDD with ASP.NET MVC)
Öhhhh? TDD? This is NOT TDD:Creating a Database ModelAdding Model MetadataAdding a RepositoryAdd Test support->Add first test$0 $0
Last modified by Thomas Lee on 11/9/2011 7:17:40 PM
Tags:  comment
Thanks for nothing (CMFCPropertyGridCtrl::RemoveAll)
Okay. It removes all the properties. I would never have guessed from the function name! (sarcasm intended)More interestingly: Will it generate a window refresh? Will it delete the properties it removes? What are the other side effects, if any? If there are no side effects, is that guaranteedFrom reading the source, it looks like, yes, it does delete the properties as well. That should be documente
Last modified by Thomas Lee on 11/9/2011 9:53:13 AM
Tags:  comment
Observation (TOP (Transact-SQL))
When TOP is used in conjunction with the ORDER BY clause, the result set is limited to the first N number of ordered rows; otherwise, it returns the first N number of rows ramdom <if an index has not been choosen>
Last modified by Thomas Lee on 7/6/2011 1:15:38 PM
Tags:  comment
Lots of features in Visual Studio and Visual Web Developer (Walkthrough: Creating a New ASP.NET Web Site)
Visual Studio and Visual Web Developer Express have lots of features but in general they are very easy to use, as long as you take the time to learn the basics. At a minimum I recommend learning:What the various windows are for How to run your web applicationHow to compile your code Fixing compiler errors How to comment code Using the debugger If you understand and practice these basic concepts, y
Last modified by Thomas Lee on 7/5/2011 2:19:54 PM
Tags:  comment
Web Dialer Accelerator (OpenService Accelerators Developer Guide (Internet Explorer))
It would be nice if there were a site where people could submit their Accelerators for others to find. I built a web dialer that I think some users would find very useful. http://ocshacks.blogspot.com/2009/08/ie8-accelerator.html
Last modified by Thomas Lee on 11/29/2010 9:16:01 PM
Tags:  comment
Visual Basic Express 2008 Fails: Windows 7 (Windows 7 and Windows Server 2008 R2 Application Quality Cookbook (Windows))
Visual Basic Express Edition 2008 fails terribly to set registry permissions on installation in the Windows 7 x64 environment. This is a terrible thing for small developers who are planning to switch to Windows 7. Old Vista solutions have been suggested and failed. The 'S' tool also fails and is not designed for Windows 7. Microsoft clearly 'missed a spot' as it was developing Windows 7. DO NOT BU
Last modified by dz7945ph on 11/7/2012 1:11:46 PM
Tags:  comment  contentbug
Classic Poor Example (KeyEventArgs.KeyValue Property (System.Windows.Forms))
.
Last modified by AMissico on 11/15/2012 7:39:06 PM
Tags:  comment
Page view tracker