Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )

Taking advantage of EFS (Encrypted File System) APIs in Win2K/XP
Total Hit (5073) The Encrypted File System, or EFS, was introduced in version 5 of NTFS to provide an additional level of security for files and directories. It provides cryptographic protection of individual files on NTFS volumes using a public-key system. Typically, the access control to file and directory objects ....Read More
Rating
Redirect command line output to textbox using CreatePipe API
Total Hit (16685) This example illustrates a Visual Basic application starting another process with the purpose of redirecting that process's standard IO handles. The Visual Basic application redirects the created process's standard output handle to an anonymous pipe, then proceeds to read the output through the pipe ....Read More
Rating
Monitor folder activities using ReadDirectoryChangesW API(Win9x/Me not supported)
Total Hit (16086) This code wraps up the Win32 API function ReadDirectoryChangesW so that your application only has to worry about responding to the events that take place when a file or directory is added, removed, modified, or renamed. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one tim ....Read More
Rating
Working with Crypto API to encrypt/decrypt text
Total Hit (26076) This article uses the CRYPTOAPI sample application to demonstrate how to decrypt or encrypt data. For more information check MSDN article «b»«a href='http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncapi/html/msdn_cryptapi.asp'»MSDN Article : The Cryptography API, or How to ....Read More
Rating
Encrypt/Decrypt file using Microsoft Crypto APIs (With User specific crypto key option)
Total Hit (24402) In our previous article «b»«a href='CodeDetail.aspx?CodeId=3765'»Working with Crypto API to encrypt/decrypt text«/a»«/b» we saw that how to use Microsoft Crypto apis to encrypt/decrypt the data using userdefined secret password. In this code we will see how to encrypt file content eventhough passwor ....Read More
Rating
Interprocess communication using DDE (Dynamic Data Exchange) - Part1
Total Hit (16692) Microsoft Windows provides several methods for transferring data between applications. One method is to use the Dynamic Data Exchange (DDE) protocol. The DDE protocol is a set of messages and guidelines. It sends messages between applications that share data and uses shared memory to exchange data b ....Read More
Rating
Interprocess communication using DDE (Dynamic Data Exchange) - Part2
Total Hit (10073) In our previous article «b»«a href='CodeDetail.aspx?CodeId=3767'»Interprocess communication using DDE (Dynamic Data Exchange) - Part1«/a»«/b» of this this series we learned about basic concept of DDE and we also saw that how to implement DDE Server using DDEML Apis. Now in this article I will show y ....Read More
Rating
Appending One File to Another File
Total Hit (3933) The following example demonstrates opening and closing files, reading and writing files, and locking and unlocking files. The application appends one file to the end of another file. The application opens the file having the new data appended with permissions that allow only this application to writ ....Read More
Rating
Taking advantage of NTFS inbuilt compression using APIs (Only for NTFS file system)
Total Hit (5492) Windows NT/2000 supports compression on individual files, folders, and entire NTFS volumes. Files compressed on an NTFS volume can be read and written by any Windows-based application without first being decompressed by another program. Decompression occurs automatically when the file is read. T ....Read More
Rating
Get/Set file or folder's attribute using GetFileAttributesEx/SetFileAttributes APIs
Total Hit (6614) This article will show you how to use GetFileAttributesEx to retrive file/folder attributes which includes createtion date, last accessed/modiifed date and various attributes of file/folder. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one drive control, one dir control, ....Read More
Rating
Enumerating all available Clipboard formats
Total Hit (8020) Sometimes in your application you might want to check if any Clipboard data available and if available then in which format. You can check format of clipboard data and you can enable/disable menu options based on available clipboard data formats. For example in timer event you can check for CF_BITMA ....Read More
Rating
How to get/set list of files copied in to clipboard using API
Total Hit (6141) «b»Step-By-Step Example«/b» - Create a standard exe project - Add one drive control, one dir control, one file control, three command button controls and one timer control. Set MultiSelect=True for File control - Add the following code in form1 «code LangId=1»Option Explicit ' Required data ....Read More
Rating
Realtime Clipboard viewer (Subclassing technique)
Total Hit (15897) The clipboard is a set of functions and messages that enable applications to transfer data. Because all applications have access to the clipboard, data can be easily transferred between applications or within an application. In this article you will learn various techniques to develop fully function ....Read More
Rating
How to run system clock slower/faster ?
Total Hit (7671) In this article we will have lots of fun with system clock. I will explain you how to retrive and change your system clock setting to make your system clock slower/faster using SetSystemTimeAdjustment and GetSystemTimeAdjustment APIs. You will also learn how to assign special privilege to an applica ....Read More
Rating
This is a link to a different site How To Use the ADO SHAPE Command
Total Hit (3335) This article describes the ADO SHAPE command syntax for producing hierarchical recordsets, and explains how to traverse hierarchical recordsets. VBA sample code is also provided.
Rating
Create your own cursor at runtime
Total Hit (3319) Sometimes you might need to create your own cursor at runtime without using any image or resource. You can achive this functionality using CreateCursor API. Here is the basic guidelines for creating your own cursor. When you call CreateCursor you have to pass Application handle, Cursor Width, Curso ....Read More
Rating
Monitoring folder activities
Total Hit (3198) In this article I will show you how to use FindFirstChangeNotification, FindNextChangeNotification, FindCloseChangeNotification and WaitForSingleObject API. Unfortunately these all APIs can only give you indication of event but they do not tell you which file/folder has been changed and what event o ....Read More
Rating
Sharing Data Between Processes Using Memory-Mapped Files
Total Hit (16706) Memory-mapped files provide a way to look at a file as a chunk of memory. This feature is very useful in languages that support examining memory at arbitrary addresses. You map the file and get back a pointer to the mapped memory. You can simply read or write to memory from any location in the file ....Read More
Rating
Rotate graphics (Plygon, line, ellipse, image...) using world transformation technique
Total Hit (6063) In this article I will show two different techniques to rotate an ellipse. First technique uses polygone points to draw an ellipse and second technique uses world transformation method which only applies to Win NT/2k/XP. «b»Step-By-Step Example«/b» - Create a standard exe project - Add two co ....Read More
Rating
Scale, Translate, Shear, Reflect and Rotate graphics using World Transformation technique
Total Hit (6158) «b»Step-By-Step Example«/b» - Create a standard exe project - Add six commandbutton controls on form1 - Add one picturebox controls on the form1 - Add the following code in form1 «code LangId=1»Private Declare Function SetWorldTransform Lib "gdi32" ( _ ByVal hDC As Long, ByRef lpXf ....Read More
Rating
How to change printer port using API ?
Total Hit (4494) «code LangId=1»Option Explicit Private Type PRINTER_DEFAULTS pDatatype As String pDevMode As Long 'DEVMODE DesiredAccess As Long End Type Private Declare Function GetPrinter Lib "winspool.drv" Alias "GetPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, pPrinter As Long ....Read More
Rating
Working with Region API
Total Hit (4620) A region is a rectangle, polygon, or ellipse (or a combination of two or more of these shapes) that can be filled, painted, inverted, framed, and used to perform hit testing (testing for the cursor location). From this article you will learn - Creating regions of different shapes (i.e rectangl ....Read More
Rating
WindowPicker - Pick any window using mouse and highlight window region
Total Hit (4125) In this sample code you will learn several techniques using APIs. Here is the summary «UL»«LI»Capture mouse input to the current application window using SetCapture and ReleaseCapture «LI»Obtain window handle from a point using WindowFromPoint «LI»Get window region from the window handle using Ge ....Read More
Rating
Stored procedure to take a database in Single User Mode/Multi User Mode
Total Hit (4576) Sometimes it is must to take a specific database in single user mode. The most known issue is database/table or index corruption. To fix this problem you have to run DBCC CHECKDB with REPAIR_REBUILT or REPAIR_FAST option and to do so you have to take your database in single user mode. Here is a ....Read More
Rating
Move Form without title bar (2 different methods)
Total Hit (3991) You can move a form which has no titlebar by 2 different methods. First method will not show any drag border while second method will show drag borders. «code LangId=1»'////////////////////////////////////////////////////////// '// Move Form Without Title bar (Method-1: Without drag border) '//// ....Read More
Rating
How to create Region from a Bitmap and perform Hit Testing within a Region ?
Total Hit (7675) Hello friends, In this article you will learn two basic concept of Regions. 1. Creating Region from a Bitmap. 2. Hit Testing within a Region. «b»Creating Region from a Bitmap«/b» In my previous article «b»«a href='CodeDetail.aspx?CodeId=3752'»Working with Region API«/a»«/b» you learned how ....Read More
Rating
Working with Basic Filled Shapes using GDI API
Total Hit (5827) Filled shapes are geometric forms that are outlined by using the current pen and filled by using the current brush. There are five filled shapes: «UL»«LI»Ellipse «LI»Chord «LI»Pie «LI»Polygon «LI»Rectangle «/UL» Applications use filled shapes for a variety of tasks. Spreadsheet applicat ....Read More
Rating
Shrinking the Transaction Log in SQL Server 2000 with DBCC SHRINKFILE
Total Hit (2804) Today I faced a strange problem. I have a database called NiteLink and logfile grew upto 25GB but actual data is only 2GB in datafile. So I tried to run the following command to shrink log file to 1.5 GB «code LangId=6»DBCC SHRINKFILE (nitelink_log, 1500)«/code» But this command did not do anyth ....Read More
Rating
Stored procedure to set/reset columns's identity property
Total Hit (3447) You can use ALTER TABLE statement to add/remove column and to change some attributes of a column but there are some limitations with ALTER TABLE statement. You can not use ALTER TABLE to set a column as an identity column (Auto Increment field). You can ADD a new column with IDENTITY property but ca ....Read More
Rating
Working with file time APIs
Total Hit (9628) The date and time functions retrieve and set the date and time for the system and individual files. There are five time formats. Time-related functions return time in one of these formats. You can also use the time functions to convert between time formats for ease of comparison and display. The ....Read More
Rating


(Page 12 of 133) 3968 Result(s) found  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 ...

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.