Atlanta Custom Software Development 

   Search        Code/Page

User Login



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

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


How to get a listview control to SORT DATES correctly
Total Hit (1514)
GetScreenSaverTimeout, SetScreenSaverTimeout - Control the screen saver's timeout
Total Hit (2317)
EscapePressed - Check whether the Esc key was pressed
Total Hit (2935)
CreateRegistryKey - Create a key in the Registry
Total Hit (1820)
Flashing Form Caption
Total Hit (1963) «Code LangId=1»'Ever wanted to get the users attention without one of those annoying BEEPs, or just have a 'little fun? Here is a good way to do it. Flash the caption of your Form. That should get 'their attention! 'Place this code into a Module: Option Explicit Declare Function FlashWindow L ....Read More
DrawHighliteGradientFrame - Draw a form with raised/sunken gradient borders
Total Hit (1730) «Code LangId=1» Private Type POINTAPI x As Long Y As Long End Type Private Declare Function SetPixel& Lib "gdi32" (ByVal hDC As Long, _ ByVal x As Long, ByVal Y As Long, ByVal crColor As Long) Private Declare Function LineTo& Lib "gdi32" (ByVal hDC As Long, _ ByVal x As Lon ....Read More
EasterDate - Evaluate the date of Easter for a given year
Total Hit (1855) «Code LangId=1» ' Evaluate the Easter date for a given year Function EasterDate(ByVal Year As Integer) As Date Dim G As Integer Dim C As Integer Dim H As Integer Dim i As Integer Dim j As Integer Dim L As Integer Dim Month As Integer Dim Day As Integer ....Read More
BubbleSort - Sort Arrays using the BubbleSort Algorithm
Total Hit (2274) «Code LangId=1» ' Bubble Sort an array of any type ' BubbleSort is especially convenient with small arrays (1,000 ' items or fewer) or with arrays that are already almost sorted ' ' NUMELS is the index of the last item to be sorted, and is ' useful if the array is only partially filled. ' ' ....Read More
SinH, CosH, TanH, CotH, SecH, CscH - Hyperbolic trig functions
Total Hit (1333) «Code LangId=1» ' hyperbolic sine Function SinH(value As Double) As Double Dim temp As Double temp = Exp(value) SinH = (temp - 1 / temp) / 2 End Function ' hyperbolic cosine Function CosH(value As Double) As Double Dim temp As Double temp = Exp(value) CosH = ....Read More
InStrRev - A replacement for VB6's InStrRev under VB4 and VB5
Total Hit (1227) «Code LangId=1»' A replacement for the InStrRev function under VB4 and VB5 ' ' NOTE: uses the StrReverse function Function InStrRev(ByVal Text As String, Search As String, _ Optional ByVal Start As Long = -1, Optional ByVal CompareMethod As _ VbCompareMethod = vbBinaryCompare) As Long ....Read More
Use Currency instead of LARGE_INTEGER values
Total Hit (2054) A few API calls require that you pass one or more LARGE_INTEGER arguments. These are 64-bit integer values, defined as follows: «Code LangId=1» Type LARGE_INTEGER lowpart As Long ' lower 32-bit value highpart As Long ' higher 32-bit value End Type «/Code» Unfortunately, wor ....Read More
The status of mouse buttons
Total Hit (2170) Visual Basic lets you test the state of mouse buttons only inside a MouseDown, MouseMove, or MouseUp event procedure. To determine the current state of mouse buttons you can use one of the following functions: «Code LangId=1» Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As ....Read More
Format a drive using an undocumented function
Total Hit (2886) SHFormatDrive is an undocumented but simple API function that allows you to format a drive. This function simply opens "Format Drive" diaolog window. Being undocument you won't find its Declare with the API Viewer utility: «Code LangId=1» Private Declare Function SHFormatDrive Lib "Shell32.dll" ....Read More
Saving and restoring all IDE settings
Total Hit (1489) At times you'd like to save all the current settings of the Visual Basic environment and restore them afterwards. For example, you may want to alternate between the MDI environment with the code editor using Courier New 12 and the SDI environment with Arial 14. Or you may want to dock a different se ....Read More
Set tab stop positions for a multiline TextBox control
Total Hit (1683) By default, multiline TextBox controls insert a tab stop position every 8 characters; in other words, if you press the Ctrl+Tab key while the focus is inside a multiline TextBox control, the caret advances to position 8,16,24, etc. (If the TextBox is the only control on the form that can receive the ....Read More
Catch user's attention with a flashing caption
Total Hit (2238) If you want to draw user's attention but you don't want to force the form to move to the foreground, you can simply flash its caption (and its icon in the taskbar), using the FlashWindow API function. To do so, just add a Timer with a suitable Interval property (for example, 1000 milliseconds) and t ....Read More
Retrieve information on all available drives
Total Hit (1892) You can retrieve information about all the available drives using calls to Windows API, if you like the hard way of doing things. A much simpler solution is offered by the Microsoft Scripting Runtime library, that exposes a Drive object that lets you get all those info by querying a property: ....Read More
Quickly clear a portion of an array
Total Hit (1879) The fastest way to clear an array is to ReDim (if the array is dynamic) or Erase it (if the array is Static). However, if you want to clear a portion of an array, it seems that you must code a For-Next loop. If you are dealing with numeric arrays, there is a faster alternative, based on the ZeroM ....Read More
Create all the sub directories of specified path.
Total Hit (1575) Sometimes we need to create a directory if it doesn't exist. It is easy to create directories using VB. You can use «b»MkDir«/b» function. But what if we need to create all directories of specified path if none of them exists? Well, if you are running Win2K or higher then its easy. You can use follo ....Read More
HiWord, LoWord, HiByte, LoByte, MakeInt and MakeLong
Total Hit (4481)
Realtime Clipboard viewer (Subclassing technique)
Total Hit (12830) 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
This is a link to a different site How To Use the ADO SHAPE Command
Total Hit (2423) 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.
This is a link to a different site Invoking Chkdsk using WMI
Total Hit (836) Besides returning system information, the Windows Management Instrumentation classes also expose methods that can be called from VB. In addition, the WMI supports the executing of SQL-style calls to retrieve specific information.
This is a link to a different site Substituting a Tabbed ListBox for a Combo's Dropdown List
Total Hit (463) Creating a tabbed list is a painless procedure when dealing with VB's intrinsic ListBox control. However when using a ComboBox, the ability to format both the list and portions of the control is lost, as is shown in illustration 1. List boxes have the LBS_USETABSTOPS style bit set, whereas combo b ....Read More
This is a link to a different site Advanced Browse For Folders Dialog Features
Total Hit (703) Take advantage of some new IE4 and IE5 shell enhancements to the Browse dialog.
This is a link to a different site Get Disk Information for any Machine In the selected Domain
Total Hit (749) This is a project that enumerates drive details on remote NT systems, but is not limited by GetDriveSpace's 2.0 GB limit. It uses GetDriveSpaceEx and the Currency Data Type (multiplied by 10000) to accurately return large drive sizes. It enumerates all NT workstations and servers and propagates a se ....Read More
This is a link to a different site Alpha DIBSections
Total Hit (1859) This article provides an enhanced DIBSection class which allows you to create and draw images with per-pixel alpha. The alpha component of a pixel allows you to determine how transparent you would like a pixel to be. This concept is being increasingly used in the Windows UI to enhance the user exper ....Read More
This is a link to a different site Creating a new GDI Bitmap from a VB Picture or DC
Total Hit (2300) If you're creating some code which works with VB but draws with the more powerful GDI functions, it's often very handy to be able to create a new bitmap handle from a VB StdPicture object or from an area of a DC. This article demonstrates how to do this with a few lines of GDI code. ....Read More
This is a link to a different site Counting Colours in an Image
Total Hit (1061) Counting the number of distinct colours in an image doesn't sound like a particularly hard thing to do until you try it on a large 24-bit image. This article demonstrates one technique for counting the colours quickly.
This is a link to a different site Using ecdClientDrawOnly with the Owner Draw Combo List Box Control
Total Hit (1756) This article demonstrates how to use the ecdClientDrawOnly mode of the vbAccelerator Owner Draw and Combo List Box control to draw completely customised Combo Boxes (note that exactly the same technique applies for List Boxes as well). The sample provides three useful implementations - a line picker ....Read More

(Page 22 of 54) 1607 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 ...

Recommanded Links


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

© 2008 BinaryWorld LLC. All rights reserved.