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 )

ImplodeForm - Hiding a form with an implosion effect
Total Hit (2911) «Code LangId=2»' Hiding a form with an implosion effect. ' the numSteps parameter is the number of steps to decrease the form size from ' the current size to 0 ' the stepDuration argument is the number of milliseconds between each step ' Example: ' Private Sub Form1_Closing(...) Handles My ....Read More
Rating
MoveListboxItem - Moving an item of a listbox to another index
Total Hit (2629) «Code LangId=2» ' Moves an item of a listbox to another index ' If FROMINDEX = -1 then it moves the current highlighted item ' ' Example: ' ' move up the selected item ' MoveListboxItem(ListBox1, -1, ListBox1.SelectedIndex - 1) ' ' move down the selected item ' MoveListboxItem(ListB ....Read More
Rating
ClearTreeViewNodes - Quickly delete all the nodes in a TreeView controls
Total Hit (3310) «Code LangId=1» Private Declare Function SendMessageLong Lib "user32" Alias "SendMessageA" _ (ByVal hwnd As Long, ByVal Msg As Long, ByVal wParam As Long, _ ByVal lParam As Long) As Long Private Const WM_SETREDRAW As Long = &HB Private Const TV_FIRST As Long = &H1100 Private Const TVM_ ....Read More
Rating
CTreeViewEdit - A class for enhanced treeview node editing
Total Hit (4382) «Code LangId=1»'------------------------------------------------------- ' The CTREEVIEWEDIT Class module ' ' This class lets you use a regular TextBox control to ' edit a treeview node's label. All you have to do to ' use this class is adding a TextBox control to the same ' form that hosts the ....Read More
Rating
GetNodeRelationship - Check if two nodes are relatives
Total Hit (2079) «Code LangId=1» ' Returns a value >0 if Node1 is a parent (or grandparent) of Node2 ' Returns a value <0 if Node1 is a child (or grandchild) of Node2 ' in both cases the number reflects the number of levels ' between the two nodes ' Returns 0 if the two Nodes are the same or ' if they be ....Read More
Rating
GetTreeViewFirstVisibleNode - Retrieve the first visible node in a TreeView
Total Hit (3565) «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 Const TV_FIRST = &H1100 Private Const TVM_GETNEXTITEM = (TV_FIRST + 10) Private Const TVM_SELECTITE ....Read More
Rating
GetTreeViewNodeHandle - The handle of any node in a TreeView
Total Hit (3265) «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 Const TVM_GETNEXTITEM = &H110A Private Const TVGN_CARET = 9 ' The handle of any node in a TreeVie ....Read More
Rating
GetTreeViewNodeRect - The bounding rectangle of a TreeView's node
Total Hit (3618) «Code LangId=1» Option Explicit 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 Type RECT Left As Long Top As Long Right As Long Bottom As Long End T ....Read More
Rating
GetTreeViewSelNodeHandle - The handle of a TrewView's selected node
Total Hit (2933) «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 Const TV_FIRST = &H1100 Private Const TVM_GETNEXTITEM = (TV_FIRST + 10) Private Const TVGN_CARET = 9 ....Read More
Rating
ListViewAdjustColumnWidth - Resize ListView's columns to account for their contents
Total Hit (3431) «Code LangId=1»Private Declare Function SendMessageLong Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Const LVM_SETCOLUMNWIDTH = &H1000 + 30 Const LVSCW_AUTOSIZE = -1 Const LVSCW_AUTOSIZE_USEHEADER = -2 ' Adju ....Read More
Rating
ListViewScroll - Scroll a ListView control horizontally or vertically
Total Hit (4479) «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 LVM_FIRST = &H1000 Const LVM_SCROLL = (LVM_FIRST + 20) ' Scroll the contents of a ListView control ho ....Read More
Rating
ListViewVisibleItems - The number of visible elements in a ListView control
Total Hit (3051)
Rating
LoadImageList - Reload the images in an ImageList control
Total Hit (2551)
Rating
MoveProgressBarIntoPanel - Move a ProgressBar inside a StatusBar's panel
Total Hit (2365) «Code LangId=1» ' Move and resize a ProgressBar control so that it fits inside ' a StatusBar's Panel. ' ' The last argument is the panel index (one-based). Sub MoveProgressBarIntoPanel(pb As ProgressBar, sb As StatusBar, _ pnlIndex As Integer) Dim deltaY As Single, pnl As Panel, y A ....Read More
Rating
NodeNestingLevel - The nesting level of a TreeView's node
Total Hit (2353) «Code LangId=1»' Returns the nesting level of a TreeView's Node object ' (returns zero for root nodes.) Function NodeNestingLevel(ByVal Node As Node) As Integer Do Until (Node.Parent Is Nothing) NodeNestingLevel = NodeNestingLevel + 1 Set Node = Node.Parent Loop End ....Read More
Rating
SaveImageList - Save the images in an ImageList control
Total Hit (3892) «Code LangId=1» ' Save all the images in an ImageList control to a disk file ' Images can be later loaded in the same ImageList control using the ' LoadImageList routine ' ' Note 1: if the file exists, it is overwritten ' Note 2: this routine always save the contents of the ListImages collecti ....Read More
Rating
SetTreeViewBackColor - Change the background color of a TreeView control
Total Hit (3456) «Code LangId=1» Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As _ Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd _ As Long, ByVal nIndex As Long) As Long ....Read More
Rating
SetTreeViewFirstVisibleNode - Set the first visible node in a TreeView control
Total Hit (3830) «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 Const TV_FIRST = &H1100 Private Const TVM_GETNEXTITEM = (TV_FIRST + 10) Private Const TVM_SELECTITEM ....Read More
Rating
Adding styles to the font of the selected text of a RichTextBox
Total Hit (2152) «Code LangId=2»' Add a style to the selection of a RichTextBox, ' without deleting the current styles that may be already ' present in the selection or in portions of it ' ' Example: AddFontStyle(richTextBox1, FontStyle.Bold) Public Sub AddFontStyle(ByVal rtb As RichTextBox, _ ByVal styl ....Read More
Rating
Copying the selected text of a RichTextBox text into the Clipboard
Total Hit (3674) «Code LangId=2»' Copy the RichTextBox's selected text into the Clipboard ' Example: CopyFromRichTextBox (richTextBox1) Public Sub CopyFromRichTextBox(ByVal rtb As RichTextBox, _ Optional ByVal availableAfterEnd As Boolean = False) Dim data As New DataObject() ' get the selected ....Read More
Rating
CountCheckedNodes - Retrieving the number of checked nodes in a treeview
Total Hit (1860) «Code LangId=2» ' Return the number of checked nodes in the specified tree Public Function CountCheckedNodes(ByVal rootNode As TreeNode) As Integer Dim count As Integer = 0 ' count the root node, if checked If rootNode.Checked Then count = 1 ' check the child nodes, by recursiv ....Read More
Rating
EnsureNodeIsVisible - Select a TreeView node and ensure it is visible
Total Hit (1977) «Code LangId=2» ' select a treevide node and ensure it is visible ' by expanding all its parent nodes and bringing the node ' in the visible portion of the control Sub EnsureNodeIsVisible(ByVal node As TreeNode) Dim tvw As TreeView = node.TreeView tvw.SelectedNode = node ' expan ....Read More
Rating
CountCheckedNodes - Retrieving the number of checked nodes in a treeview
Total Hit (2875) «Code LangId=2» ' Return the number of checked nodes in the specified tree Public Function CountCheckedNodes(ByVal rootNode As TreeNode) As Integer Dim count As Integer = 0 ' count the root node, if checked If rootNode.Checked Then count = 1 ' check the child nodes, by recursiv ....Read More
Rating
TextBoxGetLineColumn - Get caret position in a multiline TextBox control
Total Hit (3726) «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_LINEFROMCHAR = &HC9 Const EM_LINEINDEX = &HBB ' Get the line/column coordinates of a given character ....Read More
Rating
TextBoxGetLines - Get an array with individual lines in a TextBox control
Total Hit (2288) «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_FMTLINES = &HC8 ' Return an array with all the lines in the control. ' If the second optional argume ....Read More
Rating
TextBoxScroll - Programmatically scroll a multi-line TextBox control
Total Hit (3322) «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_LINESCROLL = &HB6 ' Scroll the contents of the control. ' ' Positive values scroll left and up, n ....Read More
Rating
Creating owner drawn menu items to simulate a color picker
Total Hit (3737) «Code LangId=2»' This class does the owner drawing of a MenuItem to draw a color box. ' The class inherits from MenuItem, thus the ColorMenuItem objects ' can be added to a parent MenuItem or a context menu as you ' normally do, and can also be mixed with other MenuItem items ' under the same ....Read More
Rating
ExplodeForm - Showing a form with an explosion effect
Total Hit (4078) «Code LangId=2» ' Show a form with an explosion effect. ' the numSteps parameter is the number of steps to increase the form size from ' 0 to the original size ' the stepDuration argument is the number of milliseconds between each step ' Example: ' Private Sub Form1_Activated(...) Handles ....Read More
Rating
ForceTextBoxNumeric - Force a TextBox control to accept only numeric digits
Total Hit (4040) «Code LangId=2» <System.Runtime.InteropServices.DllImport("user32")> Shared Function _ GetWindowLong(ByVal hWnd As Integer, ByVal nIndex As Integer) As Integer End Function <System.Runtime.InteropServices.DllImport("user32")> Shared Function _ SetWindowLong(ByVal hWnd As Integer, ByVa ....Read More
Rating
GetNodeNestingLevel - Returns the nesting level of a TreeView's Node object
Total Hit (1929) «Code LangId=2» ' Returns the nesting level of a TreeView's Node object ' (returns zero for root nodes) Function GetNodeNestingLevel(ByVal node As TreeNode) As Integer Do Until (node.Parent Is Nothing) GetNodeNestingLevel += 1 node = node.Parent Loop End Function ....Read More
Rating


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