|
how to clear CMOS Through vC++ Code
|
Total Hit (6217) |
Add the following code in MFC application . It works fine on Win9x only,
it was not tested on xp and hope it wont work on NT based tech.
This code is for those who are too lazy to open their cabinet and remove the batter.
Bcoz i know some of people like who fitted in it.
No remote CMOS cle
....Read More |
Rating
|
|
|
|
DATEFLOOR : Rounding dates to nearest day,hour,minute,second
|
Total Hit (7241) |
This function takes a date and a date part parameter and rounds the date down to the nearest date part.
Credit goes to "Gordon Klundt"
<b>Example:</b>
In order to round '2010-11-03 17:44:10.117' to the nearest hour ('2010-11-03 17:00:00.000')
«code LangId=6»select dbo.datefloor(cast('2010-
....Read More |
Rating
|
|
|
Script to create dummy tables/procs and views for testing purpose
|
Total Hit (5023) |
This script can generate N number of Tables/Views and Stpored Procs in few seconds with some dummy data. I use this for stress testing and create dummy tables with data.
Change @howmanytables to create N number of tables and then set
- @howmanycolumns to create N number of dummy columns per tab
....Read More |
Rating
|
|
|
|
Shrink log files of all user databases
|
Total Hit (5112) |
«code LangId=6»declare @ssql nvarchar(4000)
set @ssql= '
if ''?'' not in (''tempdb'',''master'',''model'',''msdb'') begin
use [?]
declare @tsql nvarchar(4000) set @tsql = ''''
declare @iLogFile int
declare @sLogFileName varchar(55)
declare @RecoveryModel nvarchar(10)
declare LogFiles cursor
....Read More |
Rating
|
|
|
|
|
Get More Out of SQL Server Reporting Services Charts
|
Total Hit (4144) |
This white paper presents general information, best practices, and tips for designing charts within Microsoft SQL Server Reporting Services reports. It provides an overview of some Reporting Services features, answers common chart design and feature questions, and includes advanced examples of how t
....Read More |
Rating
|
|
|
PortTalk - A Windows NT I/O Port Device Driver
|
Total Hit (3260) |
A problem that plagues Windows NT/2000 and Windows XP, is it's strict control over I/O ports. Unlike Windows 95 & 98, Windows NT/2000/XP will cause an exception (Privileged Instruction) if an attempt is made to access a port that you are not privileged to talk too. Actually it's not Windows NT that
....Read More |
Rating
|
|
|
|
Creating packages in code – Execute SQL Task
|
Total Hit (1657) |
The Execute SQL Task is for obvious reasons very well used, so I thought if you are building packages in code the chances are you will be using it. Using the task basic features of the task are quite straightforward, add the task and set some properties, just like any other. When you start interacti
....Read More |
Rating
|
|
|
|
|
|
|
|
|
Formatx and Chkdskx v1.0
|
Total Hit (3108) |
Complete source code for chkdsk and format clone programs. These examples demonstrate the use of file system utility functions that you can incorporate into your own applications.
|
Rating
|
|
|
Fundelete v2.0
|
Total Hit (3410) |
This utility expands the NT 4.0 Recycle Bin to catch file deleted from command prompts and within programs, and it comes with full source code. Several powerful device driver techniques, including getting a user's SID within a driver, enumerating a directory's contents, and generating IRPs, are demo
....Read More |
Rating
|
|
|
Inside Disk Defragmenting
|
Total Hit (4317) |
Find out about the APIs Windows NT Defragmentation products use, and download a free defragmenting demonstration program, complete with full source.
|
Rating
|
|
|
Inside the Disk Key
|
Total Hit (3327) |
The HKLM\System\Disk\Information value is the heart of NT's disk administration. It contains information on drive mappings and fault tolerant configurations. In this article I go inside the Disk\Information value to describe its format, and provide source code to a program, Diskkey, that reads and d
....Read More |
Rating
|
|
|
NewSID v4.03
|
Total Hit (3188) |
Learn about the computer SID problem everybody has been talking about and get a free computer SID changer, SID, complete with full source code.
|
Rating
|
|
|
Parallel port Interfacing Tutorial
|
Total Hit (4133) |
Parallel port is a simple and inexpensive tool for building computer controlled devices and projects. The simplicity and ease of programming makes parallel port popular in electronics hobbyist world. The parallel port is often used in Computer controlled robots, Atmel/PIC programmers, home automatio
....Read More |
Rating
|
|
|
|
Create DLLs with VC++ - A Tutorial
|
Total Hit (4868) |
Visual Basic is a very fast and easy tool for developing applications with a high degree of user friendliness, but it lacks some important functionalities like direct access to hardware, multi-threading (Active-X server does allow some type of multi-threading). An easy and effective solution for thi
....Read More |
Rating
|
|
|
|
|
|
Device Object Security
|
Total Hit (3105) |
Are your device objects as secure as they should be? Learn what permissions are applied to the objects you create with IoCreateDevice and get introduced to kernel-mode security APIs that can be used to close potential device object security holes.
|
Rating
|
|