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

(Page 42 of 54) 1607 Result(s) found 

 

InsertionSort - A simple routine with minimal overhead
Total Hit (2043)
Rating
GetCapsLockKey - Get the state of the CapsLock key
Total Hit (3651)
Rating
Changing Display Settings on the Fly
Total Hit (3825) «Code LangId=1»'Place this code in a Module: 'Place this code in a Module: Option Explicit Private Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (lpString1 As _ Any, lpString2 As Any) As Long Const CCHDEVICENAME = 32 Const CCHFORMNAME = 32 Private Type DEVMODE dmDevi ....Read More
Rating
SelectPrinter - Setting the application's default printer
Total Hit (2789)
Rating
ListViewVisibleItems - The number of visible elements in a ListView control
Total Hit (2970)
Rating
GetFileDescriptionFromReg - Get a file's description from the registry
Total Hit (1816) «Code LangId=1»' get the description of a file from the registry ' or a null string if the file's extension isn't registered ' ' NOTE: requires the GetRegistrtValue function Function GetFileDescriptionFromReg(ByVal FileName As String) As String Const HKEY_CLASSES_ROOT = &H80000000 ....Read More
Rating
BusinessDateDiff - Evaluate the number of business days between two dates
Total Hit (2946) «Code LangId=1» ' Evaluate the number of business days between two dates ' ' Note that it doesn't take Christmas, Easter and ' other holidays into account Function BusinessDateDiff(ByVal StartDate As Date, ByVal EndDate As Date, _ Optional ByVal SaturdayIsHoliday As Boolean = True) As L ....Read More
Rating
ArrayShuffle - Randomize the order of elements in an array
Total Hit (3428) «Code LangId=1» ' Shuffle the elements of an array of any type ' (it doesn't work with arrays of objects or UDT) Sub ArrayShuffle(arr As Variant) Dim index As Long Dim newIndex As Long Dim firstIndex As Long Dim itemCount As Long Dim tmpValue As Variant firs ....Read More
Rating
ReplaceWord - Replace whole words
Total Hit (1722) «Code LangId=1»' Replace a whole word Function ReplaceWord(Source As String, Find As String, ReplaceStr As String, _ Optional ByVal Start As Long = 1, Optional Count As Long = -1, _ Optional Compare As VbCompareMethod = vbBinaryCompare) As String Dim findLen As Long Dim rep ....Read More
Rating
Reduce activation delays by sorting DCOM protocol list properly
Total Hit (1883) When the client and the server machine have different communication protocol lists you can experience serious delays when the client tries to instantiate an object on the server, and you can even get an error if the two protocol lists don't have any protocol in common. For best response times, us ....Read More
Rating
The status of shift keys
Total Hit (2870) Visual Basic lets you test the state of the Shift, Alt and Ctrl keys only within the KeyUp, KeyDown and all the mouse-related event procedures. If you want to test the state of these keys from within another routine, you can resort to the following functions: «Code LangId=1» Private Declare Fun ....Read More
Rating
Find out the Windows version a program require
Total Hit (3655) Not all programs may run on all the Windows platforms. Often programs require at least a certain version of Windows. In most cases, this is due to the lack of specific functions in the SDK. Anyway, to detect yourself whether a given EXE file can run under the current version of Windows (without r ....Read More
Rating
Suppress TreeView's tooltips
Total Hit (3476) By default, all TreeView controls whose version number is 4.70 or higher display the text of the node under the cursor if the node itself isn't completely visible. You can turn off and on this feature by resetting a bit in the control's style, using the following code: «Code LangId=1» Private ....Read More
Rating
Don't stop timers when a MsgBox is active
Total Hit (2076) Not all developers know that Timer controls in compiled VB5 and VB6 applications aren't stopped by MsgBox statement, so the Timer's Timer event procedure is regularly executed even when the message box is being displayed on the screen. However, inside interpreted applications under all VB version ....Read More
Rating
Load a text file in one operation
Total Hit (2826) The fastest way to read a text file is using the Input$ function, as shown in this reusable procedure: «Code LangId=1» Function FileText (filename$) As String Dim handle As Integer handle = FreeFile Open filename$ For Input As #handle FileText = Input$(LOF(handle), handle) ....Read More
Rating
Polymorphic array procedures
Total Hit (2262) You can create "polymorphic" routines that work with any type of array (except arrays of fixed-length strings, or UDTs) by using Variant parameters. Take for example the following code: «Code LangId=1» Function Sum(arr As Variant) As Variant Dim i As Long For i = LBound(arr) To UBound( ....Read More
Rating
How to display Error Line Number in VB
Total Hit (2716) In VB you can display error line number. Its little tedious job but it works fine. you have assign numbers to lines where you want to track error line number. These line numbers should be unique within function or sub.
Rating
How to Encode/Decode URL using API
Total Hit (5190) Sometimes you might need to Encode/Decode URL programatically. This article will show you how easy it is using 2 undocumented APIs. Encoding URL means convert any unusual character into escape code (e.g. space will be replaced by %20). Decoding URL means convert escape code into actaul charac ....Read More
Rating
Extract and Play individual record stored in WMF/EMF file
Total Hit (6937) A metafile is a collection of structures that store a picture in a device-independent format. Device independence is the one feature that sets metafiles apart from bitmaps. Unlike a bitmap, a metafile guarantees device independence. There is a drawback to metafiles however, they are generally drawn ....Read More
Rating
Working with Region API
Total Hit (4502) 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
How to resize window accurately to get desired client area ?
Total Hit (7430) Sometimes you might get unexpected window size when you resize or assign different height or width. To resize or change window height/width accurately based on required client area you can use AdjustWindowRect or AdjustWindowRectEx api. You can pass required client area as a RECT parameter to Adjus ....Read More
Rating
This is a link to a different site Retrieving Drive Information Using GetDiskFreeSpace and GetDiskFreeSpaceEx
Total Hit (1511) Until Windows OSR2 hit the streets, the world was simple and only the rarest and most expensive hard drives ever exceeded 2 gigabytes; in fact, a 300-400 megabyte drive was considered high tech. Windows 95 provides the GetDiskFreeSpace API to return information about the physical drive, and GetVolum ....Read More
Rating
This is a link to a different site How to Set a Flat ListView Header Style
Total Hit (1185) There may be occasions where a flat-looking listview column header suits the design of your application more that the standard default button-style. By obtaining the handle to the header portion of the listview, and toggling its HDS_BUTTON style bits, the header takes on a flat appearance. Setting ....Read More
Rating
This is a link to a different site Definitions of the ListView API Members
Total Hit (1002) This method is intended for Visual Basic 5 or Visual Basic 6 where the Common Control library used is the MSComCtl 5 version (comctl32.ocx). Because the VB6-specific mscomctl.ocx (Common Controls 6) is a complete implementation of comctl32.dll and not reliant on the version of comctl32.dll installed ....Read More
Rating
This is a link to a different site Substituting a ListView for a Combo's Dropdown List
Total Hit (1038) Once the methods to trap the display of a combo's default dropdown list had been coded, substituting another control in place of the dropdown list is as easy as modifying the basic routine to point to the new control. Based on the code listed above, the only changes needed to support a listview cont ....Read More
Rating
This is a link to a different site Enumrate Local or Remote Disks
Total Hit (1653) VB example of using the NetServerDiskEnum API call from within VB. It returns a list of disk drives on a machine (local or remote). Author: Michael S. Jones
Rating
This is a link to a different site Create a VB Picture from a GDI Picture Handle
Total Hit (2681) This tip shows you how create a VB Picture object from an GDI bitmap handle (hBitmap). This is useful if you are trying to provide VB users with a picture they can use from a GDI class.
Rating
This is a link to a different site Retrieving the Error Message for a Windows API Call Error
Total Hit (2444) Whenever an API function call fails, the error code can be retrieved from VB's Err.LastDLLError property. This tip shows you how to retrieve the description for the error from Windows.
Rating
This is a link to a different site Secrets of FTP
Total Hit (2539) Read our practical introduction to the File Transfer Protocol for Visual Basic developers. You'll find out how to retrieve listings of FTP directories, download and upload files, and how to resume broken file transfer. FTP Quick Reference will help you to learn all the FTP commands and server reply ....Read More
Rating
This is a link to a different site Tutorial: Setting data transfer options
Total Hit (3337) In this tutorial you will learn how to define the method of the data connection establishment and how to specify the data transfer type. For each of these options the CFtpClient class provides separate properties: PassiveMode and TransferMode respectively. ....Read More
Rating


(Page 42 of 54) 1607 Result(s) found  ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.