Finally, my posts in the Windows Forms forums are now unmoderated after 70+ posts. I even have the opportunity to edit my posts thanks to the moderators. Response time for the said forum is pretty slow because of the moderated messages and it usually takes a day for me to get a reply to a problem since...
I’ve seen an officemate of mine this morning browsing the history log of a code sheet (VSS) to know when was a particular line added and who did it. What striked me was the way he opened each entry of the history database from oldest to the latest. I told him the more efficient way to locate the entry...
Have you experienced the following using MS Word? your pages are not breaking as you like your printer is adding a blank page at the end of your document an automatic number insists on being bold even though you have applied bold formatting to only a part of the numbered paragraph It’s time to unravel...
There are a number of sample codes for designer classes of custom controls. Some are storing internal references to the services (IComponentChangeService, ISelectionChangeService, etc.) and the designerhost, some are getting them when needed. The second scenario of course involves repeated unboxing of...
Before, I used to think that in C, the assignment operator always evaluate to true. It is because of this context: [code language="C#"] while (intLeft == intRight) { //do whatever } [/code] If you mistyped the comparison operator (==) as a single equal sign (=) for assignment (of course it will compile...
Back in grade school (Third Grade if I can remember it correctly), rounding off a number which is exactly in between (halfway) follows the “nearest even rule”. Rounding off 0.5 and 1.5 to their nearest units digit gives: 2.5 -> 2 3.5 -> 4 After that, perhaps in high school, a new rule was presented...