Weâ€™ve got .NET sample libraries and example for managed code developers to target Windows 7 new APIs!
Archive for March 2009
Another type of refactoring patterns is the Magic Number pattern.
Magic numbers are numbers with special meaning and value that usually are not obvious, such as PI. They are really nasty when you need to reference the same number many times. If the number might ever change, making the change is a nightmare. Even if you don’t make a change, you have the difficulty of figuring out what is going on.
This lesson is very easy. This lesson focuses on how to compress and decompress files programmatically using .NET Framework and C# -or any language that supports .NET of course.
The March 2009 DirectX SDK download contains the tools needed to build cutting-edge, media-rich, interactive applications. It includes runtimes, headers and libraries, samples, documentation, utilities, and support for C++ development.
Starting from version 2.0, .NET supports a mechanism to enumerate the SQL Server instances in the local network. This is done by System.Sql.SqlDataSourceEnumerator class that resides on the assembly System.Data.
CAT.NET is a binary code analysis tool that helps identify common variants of certain prevailing vulnerabilities that can give rise to common attack vectors such as Cross-Site Scripting (XSS), SQL Injection and XPath Injection.
Binary Large Objects (BLOBs) are pieces of data that have -usually- exceptionally large size (such as pictures or audio tracks). These values stored in SQL Server in an image column.
Swapping mouse buttons means swapping the two buttons, making the right button acts like the left one and vice versa. This is done -for normal users of course- using the Mouse properties dialog in the control panel. See the next figure.
A simple way to get system information is through Windows Management Instrumentation (WMI).
WMI was firstly introduced part of Windows 2000. It’s designed to help your system, applications, and networks.
Using decimal representation means using base-10 representation of numbers which means that every digit of the number can be one of 10 values, 0 through 9.
On the other hand, hexadecimal is base-16 representation which means that there are 16 of base values that every digit in the number can be one of. These base values are 0 through 9 and A through F. From 0 to 9 are the same in dec (the shorthand for decimal). A equals 10, B equals 11, C equals 12, etc.
Enabling UAC (User Access Control) feature in Windows Vista, Administrator users in Windows Vista, by default, don’t have administrative privileges. Every Windows process has two security tokens associated with it, one with normal user privileges and one with admin privileges. With applications that require administrative privileges, the user can elevate the application to run with Administrator rights. And that process called Elevation.
Contrary to widely circulated rumors, Visual Basic 6.0 will ship and will be supported on Windows 7 for the lifetime of the OS. Microsoft has released an updated support statement detailing the exact nature of ongoing support.Contrary to widely circulated rumors, Visual Basic 6.0 will ship and will be supported on Windows 7 for the lifetime of the OS. Microsoft has released an updated support statement detailing the exact nature of ongoing support.
Lastly but not last, and after a long while, Windows Vista introduced a way to create transacted files or even to write to registry.
While market grows remarkably in the last years, its requirements increase as well. And every day you face a new problem that you must overcome to accommodate market requirements.
Transacted operations are one of the commonly demanded requirements by market.