Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, July 04, 2009

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > .NET Namespaces
Search:
What's New - What's Hot
More Categories for EnvDTE EnvDTE (89)
More Categories for Microsoft Microsoft (72)
More Categories for System System (1713)
 


Extension for extracting Regsitry entries for COM DLLs and EXEs        
Total Hits: 12  |  Today: 0 Author: vishal820       Rating:  
Read Reviews | Write Review |   Your Rating: 

Extracting the Registry entries for COM DLLs and EXEs during build time is not supported in WIX. But, they provide an option for writing an extension. The Registry data can be extracted by making use of Heat. Hence, I am making use of Heat.exe, and extension facility of WIX. So, while pre-processing the Wxs file using Candle, we can generate all the Registry data. I am still not sure what to do with the rgs data. But this solves at least half of the problem for the installer guys. Hope this help...

Three Steps Down the Stairs: From Win32 User-Land through Native API to Kernel        
Total Hits: 27  |  Today: 0 Author: csrss       Rating:  
Read Reviews | Write Review |   Your Rating: 

As the title says, three steps down the stairs, our project application will "travel" through the Windows system to finally reach the kernel, from ring 3 to ring 0. It will become more and more privileged, more powerful, and more interesting. I will use the most simple code examples here to make it more clear. How will it look like? Take a look at this scheme:...

Performing emergency shutdowns        
Total Hits: 40  |  Today: 0 Author: hxhl95       Rating:  
Read Reviews | Write Review |   Your Rating: 

Sometimes an application just needs to quickly shutdown Windows. Unfortunately, there is no well-documented method to do this, and Microsoft does not support it. In fact, neither do I. However, I am presenting two methods to do so just as a mere idea. Disclaimer: I am not responsible for any unwanted behavior of this program. If your computer doesn't start up again afterwards, it is not my fault. The program is presented merely as a "proof of concept"....

Registry handling with .NET        
Total Hits: 52  |  Today: 0 Author: Nishant Sivakumar       Rating:  
Read Reviews | Write Review |   Your Rating: 

Well, apparently the registry seems to have lost some of its importance with the arrival of .NET, at least that's the impression I seem to get. But luckily for us, Microsoft has given us two nice classes for doing just about anything we want to do with the registry. The classes are Microsoft.Win32.RegistryKey and Microsoft.Win32.Registry. They have both been put into the Microsoft.Win32 namespace as you can see because the registry is totally Microsoft Win32 specific. Without too much fuss, let'...

XMSAALib - a non-MFC class to retrieve accessibility (MSAA) info        
Total Hits: 56  |  Today: 0 Author: Hans Dietrich       Rating:  
Read Reviews | Write Review |   Your Rating: 

Microsoft Active Accessibility (MSAA) is the name that Microsoft has given to their implementation of assistive technologies (AT). MSAA has been available as an add-on since Windows 95 and is built into subsequent Windows releases. The most typical use of MSAA is to allow screen readers to access UI elements in applications such as web browsers. However, MSAA can be used by any Windows application, by simply linking to oleacc.dll, and using IAccessible COM interface. XMSAALib provides functions ...

Manipulating and Editing Registry with .NET        
Total Hits: 67  |  Today: 0 Author: Sanjay Shravan       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Registry has a hierarchical structure much like that of the file system. The usual way of viewing and editing the registry key is by using the tools called regedit.exe and you can open it by typing regedit.exe in the run command. Quite a lot of times, you also need to write and edit the registry keys on your code or in ASP.NET and you probably haven't done it before. In this article I will teach you how to do it using .NET classes. Microsoft has included all the library that can be used to ...

Log events in VC        
Total Hits: 63  |  Today: 0 Author: wshcdr       Rating:  
Read Reviews | Write Review |   Your Rating: 

Sometimes, we need to log some behaviores of our codes, and when the program goes wrong , we could know the reason quickly, so someone would write a Logger himself, but we have a better choice, the windows EventLog service. Be familar with windows DLL, and know how to create the DLL project....

Browsing message queues with MQManager.NET        
Total Hits: 70  |  Today: 0 Author: zippy1981, Lars Hove Christiansen       Rating:  
Read Reviews | Write Review |   Your Rating: 

Microsoft Message Queue (MSMQ) technology is a popular Reliable Message Transportation Protocol for Windows developers. The primary reasons for its popularity are that it is included with all versions of the Windows Operating System and it has always been well supported by Microsoft's development tools. One thing I've found lacking from the Microsoft MSMQ stack has been a good tool for viewing the contents of the messages in a MSMQ. The MSMQ MMC Snap-in is good for administering the queues on a ...

Double Buffering in a Win32 API Program        
Total Hits: 109  |  Today: 0 Author: Markus Koppensteiner       Rating:  
Read Reviews | Write Review |   Your Rating: 

Using the Win32 API and the GDI to develop a program may be outdated, but it has its advantages too. Win32 programs are very slim, and in my opinion they are not more complicated than MFC programs (though I must admit that I am not an expert in MFC). What is the whole thing about? I will mainly describe how to do animations with double buffering. The article is directed to programmers on a more or less advanced level (as I hope to be more or less). You should be familiar with C++ and the structu...

Windows File Monitoring System Using Windows API Hooking        
Total Hits: 144  |  Today: 0 Author: Kanchan Lulla       Rating:  
Read Reviews | Write Review |   Your Rating: 

Windows file monitoring system aims at providing security to files in a Windows environment. I was in a need to design an application which monitors file open and save operations on Windows and restricts a subset of file extensions to be used on a system until this utility is installed. I found a few good applications like AvaFind, FileMon, etc. performing file monitoring functionality. But, these applications use file system drivers to achieve their goals. Creating a user space application that...

Windows File Monitoring System Using Windows API Hooking        
Total Hits: 116  |  Today: 0 Author: Kanchan Lulla       Rating:  
Read Reviews | Write Review |   Your Rating: 

Windows file monitoring system aims at providing security to files in a Windows environment. I was in a need to design an application which monitors file open, close and save operations on Windows and restricts the user from accessing a subset of file types until this utility is installed. This was achieved by hooking windows file related APIs and then preprocessing file open, save and close operations in windows as per the requirement. The preprocessing may be encryption of files, corrupting t...

Building Managed Resources from Win32 Resources        
Total Hits: 81  |  Today: 0 Author: Grant Bolitho       Rating:  
Read Reviews | Write Review |   Your Rating: 

Resources within .NET — based applications are stored in a different format and accessed in a different manner than a traditional Windows application. This article examines a technique and supplies a command line utility that can be used to convert resources in the Win32 Resource Compiler script format to a .NET resource file and then build it into a managed assembly with embedded resources....


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net