Categories
- Computers (38)
- Databases (2)
- OS (50)
- Programming (49)
- Web (34)
Calendar
May 2012 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Featured
Archives
- April 2012 (2)
- March 2012 (2)
- February 2012 (2)
- December 2011 (3)
- November 2011 (2)
- October 2011 (1)
- September 2011 (2)
- August 2011 (2)
- July 2011 (4)
- June 2011 (2)
- May 2011 (1)
- April 2011 (6)
- March 2011 (4)
- February 2011 (2)
- January 2011 (4)
- December 2010 (3)
- November 2010 (6)
- October 2010 (8)
- September 2010 (6)
- August 2010 (1)
- July 2010 (5)
- June 2010 (2)
- May 2010 (2)
- April 2010 (5)
- February 2010 (1)
- January 2010 (2)
- December 2009 (2)
- November 2009 (2)
- October 2009 (2)
- September 2009 (5)
- August 2009 (11)
- July 2009 (7)
Tags
-
Recent Posts
- How to execute JavaScript after inserting into element.innerHTML automatically
- Disappearing folder – bug in Windows 7
- When Windows automatic update suddenly stops updating Windows automatically
- Strange MAC addresses in your network (00:0D:3A:D7:F1:40 – 00:0D:3A:FF:FF:FF)
- Watch window shows ‘CXX0058: Error: overloaded operator not found’
Recent Comments
- Tom Colvin on CreateProcessAsUser fails on Windows XP with System error 233
- Minnhack on No ODBC driver after installing Oracle 11g R2
- Niels on IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
- Richard on Ubuntu Server: rename eth1 to eth0
- Anonymous on IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
Menu
Category Archives: Programming
How to execute JavaScript after inserting into element.innerHTML automatically
Here is a scenario: you have some software/component that inserts partial HTML into page using JavaScript element.innerHTML function; you can insert any HTML tags including <script>; you can not call any JS function (software/component does not have such functionality), and … Continue reading
Watch window shows ‘CXX0058: Error: overloaded operator not found’
If you add a Watch for std::vector using array subscript operator, like, myVector[5], then Visual Studio 2010 instead of showing value, will show the error: ‘CXX0058: Error: overloaded operator not found’. However when you cover std::vector with mouse, the tooltip … Continue reading
RegCopyTree fails with Access denied error (5) on Windows 7
MSDN documentation for RegCopyTree states that ‘The calling process must have KEY_CREATE_SUB_KEY access to the destination key’, however call fails on some keys with Access denied error (5) on Windows 7 Ultimate 64-bit. Changing desired access rights to KEY_ALL_ACCESS solves … Continue reading
On production machine: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts.
I was helping my colleagues to debug one weird bug on ASP.NET 4.0 website. Everything worked well on developer’s machine, but after publishing to IIS 7.5 Windows 2008 R2 Webserver, we always got site partially working. Everything worked, except AJAX … Continue reading
Posted in Computers, Programming, Web
Tagged Ajax, AJAX Control Toolkit, ASP.NET, Bug, Debug, IIS
Leave a comment
C++ now allows to forward declare enum(s)
Thanks to recently approved standard (C++11 / C++0x), it is possible to forward declare enums. It was possible with classes for the long time, for example, “class MyClass;” in C++ [forward] declares class without providing underlying details. For enums it … Continue reading
.NET text box blank/empty/invisible/hidden when text reaches certain length
It seems, that .NET 2.0 have bug when text box (TextBox control) appears blank / empty / invisible / hidden — not showing text when text length reaches certain size. My quick tests shows, that the length of the text … Continue reading
Static code analysis for C++ for free and for Pro
Up and until Visual Studio 2010 Microsoft decided that Code Analysis tool was available only for Visual Studio Premium and Ultimate editions. I have Visual Studio 2010 Pro w/MSDN subscriptions (actually 2 of them), but can not use Code Analysis … Continue reading
COM, BSTR or _bstr_t is leaking memory
COM, BSTR or _bstr_t is leaking memory. That was my first thought when I saw increasing number in Task Manager under memory colon for the process I am developing. Searching Google for quick answer I found famous Microsoft employee and … Continue reading
2011 links no. 3
Interview With Sacha Barber in The Code Project. The ABA problem occurs during synchronization, when a location is read twice, has the same value for both reads, and “value is the same” is used to indicate “nothing has changed”. However, … Continue reading
Posted in Computers, OS, Programming, Web
Tagged Android, Augmented reality, Business, C#, Cloud, Design, Game, ISP, IT, JavaScript, MSDN, Perl, PowerShell, Programming, Python, Recognition, web
Leave a comment
CreateProcessAsUser fails on Windows XP with System error 233
Today I fixed one bug that was very hard to reproduce. Many hours were spent to figure out what combination caused it: It happens only on Windows XP (not on Vista, Server 2003, 2008, Win 7); It does not happens … Continue reading
Posted in Computers, OS, Programming
Tagged Debug, Microsoft, Visual Studio, Windows API, Windows XP
1 Comment