When and How to Use Dispose and Finalize in C#
hen the .NET framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it’s no longer referenced by any
hen the .NET framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it’s no longer referenced by any
Calling constructors for the data members of the object of a class results in an overhead process which calls the constructor in the main function. You can reduce this overhead
If you’ve ever loged out and back into Windows XP to run a program under other user’s privileges, you don’t have to anymore. You can run the program as a
The following tip shows you how to combine Java and SAXON 8 in order to evaluate XQuery expressions. This application presumes that the XQuery expression is in an external file,
This function replaces all occurences of numbers in the input string with ‘#‘ and returns the replaced string. It recognizes integers, floating point, and negative numbers. It will not replace
his article is the second part in a three-part series about Python 2.5. The first part discussed the major changes and enhancements to the Python language itself. This part introduces
o me, half the battle of starting development on a new mobile platform is fighting issues with new tool chains. Sometimes, it’s maturity issues: the tools just aren’t ready. Other
here are tons of tools developers can use to inspect code they write at the code level, and some even provide metrics about how complex aspects of the code are,
ithout a doubt, Web services have hit the mainstream and have demonstrated their value. They were designed largely to address interoperability and distributed computing and both goals were realized by
rganizations the world over are looking for better flexibility and higher productivity. They need software applications that are not only long-lasting but also adaptable to change. Business process management (BPM)
This code shows you how to calculate the angle between two lines using vectors and an inverse cosine function: Public Function getAngleBetweenLinesVect(commonX As Single, commonY As Single, X1 As Single,
It’s common to want to assign several styles to an element. Normally, you’d do that this way: obj.style.position = ‘absolute’;obj.style.top = ‘0px’;obj.style.left = ‘0px’;… etc … However, there’s a way
This utility tool logs the information when you build the assembly and is packaged along with the .NET Framework Tools. It allows you to view all the assembly bindings in
Suppose you want to place your cursor in a text field at a desired position. Your text field has a display size of 20 characters and a data size of
okia reports that STL support has been one of the most requested features among Symbian developers. This is no surprise. In 2006, using C++ without STL is like driving a
ne of the most useful features of the Microsoft Enterprise Library is its adaptability; all the application blocks are fully extensible. Like ASP.NET itself, Enterprise Library implements a pluggable architecture
icrosoft has recently launched the Windows Mobile 5.0 platform for Pocket PCs and Smartphones. With the proliferation of Windows Mobile-based devices in the marketplace, companies are gradually mobilizing their enterprising
ost Windows users are familiar with tool tips?the little “balloon” that pops up when you position your mouse over an icon. Tool tips are very useful user interface (UI) enhancements
Many object-oriented programming languages allow a constructor to delegate its object initialization to another constructor of the same class. But in C++98, this isn’t permitted. Consequently, a C++ class with
n April 6 of this year, Microsoft announced that SQL Server Mobile Edition (SQL Server Mobile) would be replaced later this year with Microsoft SQL Server 2005 Everywhere Edition (SQL
synchronous JavaScript and XML (AJAX ) is a term for the process of transferring data between a client script and the server. The advantage of this is that it provides
n September 19th, 2006, Python enthusiasts were rewarded with a new version. Python 2.5 continues the honorable tradition of improving and enhancing the language carefully while extending its impressive standard
DO.NET provides many rich features that you can use to retrieve data from data sources in a number of ways, but with that flexibility developers sometimes end up tightly coupling
ou know SQL Server 2005’s new snapshot isolation feature can help you reduce lock contention and deadlocks, but did you know that it also can help you fix intermittent errors
‘m sure by now you’ve read more than your share of books and articles describing new ASP.NET 2.0 features. Master pages, themes, providers, etc., are all great, but have you
The proxy pattern can be used in situations where multiple copies of a complex object must exist. In order to reduce the application’s memory footprint in these situations, you create
If you’ve ever wanted to know how something in the .NET Framework does what it does, check out .NET Reflector. This awesome utility will reverse engineer compiled .NET dlls back
JavaScript does not allow you to set the page orientation so you can print in Landscape mode. To workaround this limitation, simply add the following code to the … part
lthough originally envisaged as a product for use in Windows Forms (executable) applications, Enterprise Library is proving popular with Web application developers as well. For example, the Data Access Application
emoting is an essential component of enterprise distributed computing. A service or class you call from within the same server (Java virtual machine) doesn’t need to be exposed as a