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 )

GetListBoxSelectRange - Retrieve the index of all the selected items in a ListBox
Total Hit (2278) «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 (2162) «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 (1638) «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 (2142) «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 (2679) «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
ListBoxItemFromPoint - The index of a ListBox item at given coordinates
Total Hit (3276) «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
ListBoxSelectRange - Select or unselect a range of elements in a ListBox
Total Hit (2371) «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 (1668) «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 (1774) «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 (3444) «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 (1667) «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 (1778) «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 (1543) «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 (2304) «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 (2295) «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 (2314) «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 (1869) «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 (3832) «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 (3554) «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
SplitSubMenu - Split a submenu with vertical bars
Total Hit (2929) «Code LangId=1» Private Type MENUITEMINFO cbSize As Long fMask As Long fType As Long fState As Long wID As Long hSubMenu As Long hbmpChecked As Long hbmpUnchecked As Long dwItemData As Long dwTypeData As String cch As Long End Type Private ....Read More
Rating
TextBoxGetLine - Return a single line in a multiline TextBox control
Total Hit (2733) «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 EM_LINEINDEX = &HBB Const EM_LINELENGTH = &HC1 ' Return the specified line in a multiline TextBox contr ....Read More
Rating
ComboBoxSetHeight - Set a new height for the list portion of a ComboBox control
Total Hit (2426) «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 (3086) «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 (2433) «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 (2400) «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 (3216) «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 (3761) «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 (1898) «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 (2053) «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 (2323) «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


(Page 101 of 133) 3968 Result(s) found  ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 ...

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

© 2008 BinaryWorld LLC. All rights reserved.