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 4 of 6) 152 Result(s) found 

 

CenterCaptionInAdodc - Center a caption on an ADODC Data control
Total Hit (1685) «Code LangId=1» ' Center caption in Adodc control ' ' Input: frmForm - Form Adodc contol in on ' datAdodc - Adodc control ' sCaption - Caption text ' ' Output: Padded Caption text Sub CenterCaptionInAdodc(ctrl As Adodc, ByVal sCaption As String) Dim lTextWidth As Long ....Read More
Rating
ComboBoxExtendedMatching - Extended Matching mode for ComboBox controls
Total Hit (1628) «Code LangId=1»' Enable extended matching to any type combobox control ' ' Extended matching means that as soon as you type in the edit area ' of the ComboBox control, the routine searches for a partial match ' in the list area and highlights the characters left to be typed. ' ' To enable thi ....Read More
Rating
ComboBoxGetDroppedControlRect - Get the size of a ComboBox dropped rectangle
Total Hit (2409) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Cons ....Read More
Rating
ComboBoxSetHeight - Set a new height for the list portion of a ComboBox control
Total Hit (2366) «Code LangId=1» Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, _ lpRect As RECT) As Long Private Declare Function ScreenToClientAny Lib "user32" Alias "ScreenToClient" ....Read More
Rating
DragControl - Drag any control using the mouse
Total Hit (3016) «Code LangId=1» Private Type POINTAPI X As Long Y As Long End Type Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function ClipCursor Lib "user32" (lpRect As RECT) As Long Private Declare Function Cli ....Read More
Rating
DrawBorder - Draw a raised/bump/etched/sunken border
Total Hit (2370) «Code LangId=1»Option Explicit Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Enum mbBorderTypeConstants mbRaised = 0 mbSunken = 1 mbEtched = 2 mbBump = 3 End Enum 'draw a raised/bump/etched/sunken border at ....Read More
Rating
DrawHighliteGradientFrame - Draw a form with raised/sunken gradient borders
Total Hit (2324) «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
DuplicateComboBox - Fast copy of the contents of a ComboBox control
Total Hit (3149) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) _ As Long Const CB_R ....Read More
Rating
DuplicateListBox - Fast copy of the contents of a ListBox control
Total Hit (3682) «Code LangId=1»Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) _ As Long Const LB_RES ....Read More
Rating
ExplodeForm - Show a form with an explode effect
Total Hit (1841) «Code LangId=1» Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) ' Show a form with an explosion effect. ' the lNumSteps parameter is the number of steps to increase the form size from ' 0 to the original size ' the lStepDuration argument is the number of milliseconds ....Read More
Rating
ForceTextBoxCase - Set a textbox's upper/lowercase style
Total Hit (1989) «Code LangId=1»Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long) As Long Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) A ....Read More
Rating
ForceTextBoxNumeric - Create a numeric Textbox
Total Hit (2263) «Code LangId=1» Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long) As Long Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) ....Read More
Rating
GetListBoxSelectRange - Retrieve the index of all the selected items in a ListBox
Total Hit (2220) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_GETSELITEMS = &H191 ' Return an array with the indexes of all the selected items in a ListBox ' c ....Read More
Rating
GetListItemHeight - Return the height of a ListBox or ComboBox item
Total Hit (2109) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_GETITEMHEIGHT = &H1A1 Const CB_GETITEMHEIGHT = &H154 ' Return the height of each entry in a ListBo ....Read More
Rating
GetSelectedOption - Get the selected element in an OptionButton control array
Total Hit (1578) «Code LangId=1»' Determine which element of an option button control array was selected ' Returns -1 if no control has been selected ' Use : OptSelected = GetSelectedOption(Option1) Function GetSelectedOption(Opt As Object) As Integer Dim i As Integer GetSelectedOption = -1 ....Read More
Rating
IsFormModal - Determines whether a form is modal
Total Hit (2086) «Code LangId=1» Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long) As Long Const GWL_STYLE = (-16) Const WS_DISABLED = &H8000000 ' Return True if the form is modal ' ' Note: if an application has only one visible ' ....Read More
Rating
ListBoxFindString - Search an item in a ListBox or ComboBox control
Total Hit (2571) «Code LangId=1»Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_FINDSTRING = &H18F Const LB_FINDSTRINGEXACT = &H1A2 Const CB_FINDSTRING = &H14C Const CB_FINDSTRING ....Read More
Rating
ListBoxSelectRange - Select or unselect a range of elements in a ListBox
Total Hit (2296) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (dest As _ Any, dest As Any, ByVal num ....Read More
Rating
ListboxToArray - Retrieve an array of strings from a ListBox or ComboBox control
Total Hit (1613) «Code LangId=1» ' Returns a string array containing all the elements ' of the specifid ListBox or ComboBox control ' ' Example: ' Dim strArray() As String ' strArray = ListBoxToArray(Combo1) Public Function ListBoxToArray(ctrl As Control) As String() Dim index As Long ' ....Read More
Rating
ListBoxTooltip - A class for displaying items' values in a tooltip
Total Hit (1691) «Code LangId=1» ' --- The ListBoxTooltip class ' ' Usage in the client form: ' ' Dim lstTT As New ListBoxTooltip ' ' Private Sub Form_Load() ' Set lstTT.ListBox = List1 ' End Sub ' Private Sub Form_Unload(Cancel As Integer) ' Set lstTT.ListBox = Nothing ' E ....Read More
Rating
ListBoxVisibleItems - The number of visible items in a ListBox control
Total Hit (3377) «Code LangId=1»Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Private Declare Function GetClientRect Lib "user32" (ByVal hwnd As Long, _ lpRect As RECT) As Long Const LB ....Read More
Rating
MakeModalForm - Make a modeless form modal
Total Hit (1622) «Code LangId=1»' make a modeless form modal ' ' this procedure should be called by passing TRUE ' in the 2nd argument to make the form modal, and ' called again with FALSE in the 2nd argument when ' the form is being unloaded. ' ' Private Sub Form_Load() ' MakeModalForm Me, True ' End Su ....Read More
Rating
MoveListboxItem - Move an item of a ListBox to another position
Total Hit (1723) «Code LangId=1» ' Move an item of a listbox to another index ' ' If FROMINDEX = -1 then it moves the current highlighted item Sub MoveListboxItem(ctrl As ListBox, ByVal FromIndex As Long, _ ByVal ToIndex As Long) Dim sText As String, lItemData As Long ' provide a default ....Read More
Rating
OptionButtonIndex - Determine the selected OptionButton in a control array
Total Hit (1480) «Code LangId=1»' get the index of the active OptionButton in an array Function OptionButtonIndex(optArray As Object) As Integer Dim ctrl As Control ' this means not found OptionButtonIndex = -1 For Each ctrl In optArray If ctrl.value Then Opti ....Read More
Rating
OverwriteHandler - A class for handling overwrite mode
Total Hit (2244) «Code LangId=1»'--------------------------------------------------------- ' OverwriteHandler class ' ' you can associate this class to a form, using the ' Form property, and all the textbox controls in the ' form will support insert/overwrite mode switching ' ' Usage: Dim ov As New Overwrite ....Read More
Rating
RemoveCloseMenuItem - Remove the Close button and command from a form
Total Hit (2224) «Code LangId=1» Private Declare Function GetSystemMenu Lib "user32" (ByVal hWnd As Long, _ ByVal bRevert As Long) As Long Private Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Long, _ ByVal nPosition As Long, ByVal wFlags As Long) As Long ' Remove the Close menu item and di ....Read More
Rating
SaveCSV - Saving the content of a FlexGrid control as a CSV-file
Total Hit (2227) «Code LangId=1» ' Save the content of a FlexGrid control as a CSV-file ' Example: SaveCSV("C:\Test.csv", MSFlexGrid1) Private Sub SaveCSV(ByVal strFilename As String, ByRef msFlex As MSFlexGrid) Const SEPARATOR_CHAR As String = "," Dim intFreeFile As Integer Dim strLine As Stri ....Read More
Rating
SetListItemHeight - Change the height of items in a ListBox or ComboBox control
Total Hit (1801) «Code LangId=1» Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal _ hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As Long Const LB_SETITEMHEIGHT = &H1A0 Const CB_SETITEMHEIGHT = &H153 ' Set the height in pixels of each entry in a ....Read More
Rating
SetMenuBitmap - Add a bitmap to a menu item
Total Hit (3736) «Code LangId=1» Private Declare Function GetMenu Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function GetSubMenu Lib "user32" (ByVal hMenu As Long, _ ByVal nPos As Long) As Long Private Declare Function SetMenuItemBitmaps Lib "user32" (ByVal hMenu As Long, _ ByVal nPositio ....Read More
Rating
SetWindowShape - Create elliptical or rounded forms
Total Hit (3474) «Code LangId=1»Private Type POINTAPI X As Long Y As Long End Type Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type ' Region API functins Private Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, _ ByVal Y1 As L ....Read More
Rating


(Page 4 of 6) 152 Result(s) found  1 2 3 4 5 6

Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.