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 22 of 54) 1607 Result(s) found 

 

How to get a listview control to SORT DATES correctly
Total Hit (2398)
Rating
GetScreenSaverTimeout, SetScreenSaverTimeout - Control the screen saver's timeout
Total Hit (3040)
Rating
EscapePressed - Check whether the Esc key was pressed
Total Hit (4058)
Rating
CreateRegistryKey - Create a key in the Registry
Total Hit (2500)
Rating
Flashing Form Caption
Total Hit (3004) «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
Rating
DrawHighliteGradientFrame - Draw a form with raised/sunken gradient borders
Total Hit (2326) «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
Rating
EasterDate - Evaluate the date of Easter for a given year
Total Hit (2862) «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
Rating
BubbleSort - Sort Arrays using the BubbleSort Algorithm
Total Hit (3026) «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
Rating
SinH, CosH, TanH, CotH, SecH, CscH - Hyperbolic trig functions
Total Hit (2325) «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
Rating
InStrRev - A replacement for VB6's InStrRev under VB4 and VB5
Total Hit (1874) «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
Rating
Use Currency instead of LARGE_INTEGER values
Total Hit (3315) 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
Rating
The status of mouse buttons
Total Hit (3308) 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
Rating
Format a drive using an undocumented function
Total Hit (4118) 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
Rating
Saving and restoring all IDE settings
Total Hit (2294) 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
Rating
Set tab stop positions for a multiline TextBox control
Total Hit (2444) 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
Rating
Catch user's attention with a flashing caption
Total Hit (3264) 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
Rating
Retrieve information on all available drives
Total Hit (3043) 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
Rating
Quickly clear a portion of an array
Total Hit (2788) 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
Rating
Create all the sub directories of specified path.
Total Hit (2183) 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
Rating
HiWord, LoWord, HiByte, LoByte, MakeInt and MakeLong
Total Hit (5854)
Rating
Realtime Clipboard viewer (Subclassing technique)
Total Hit (15654) 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
This is a link to a different site How To Use the ADO SHAPE Command
Total Hit (3224) 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
This is a link to a different site Invoking Chkdsk using WMI
Total Hit (1218) 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.
Rating
This is a link to a different site Substituting a Tabbed ListBox for a Combo's Dropdown List
Total Hit (727) 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
Rating
This is a link to a different site Advanced Browse For Folders Dialog Features
Total Hit (1045) Take advantage of some new IE4 and IE5 shell enhancements to the Browse dialog.
Rating
This is a link to a different site Get Disk Information for any Machine In the selected Domain
Total Hit (1070) 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
Rating
This is a link to a different site Alpha DIBSections
Total Hit (2503) 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
Rating
This is a link to a different site Creating a new GDI Bitmap from a VB Picture or DC
Total Hit (3183) 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
Rating
This is a link to a different site Counting Colours in an Image
Total Hit (1317) 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.
Rating
This is a link to a different site Using ecdClientDrawOnly with the Owner Draw Combo List Box Control
Total Hit (2476) 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
Rating


(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.