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


CombSort - A compact routine that sorts data in place
Total Hit (1526)
SelectionSort - Short, simple and sloooow
Total Hit (1431)
Peek - Read a value of any type from memory
Total Hit (2221)
ServiceCommand - Start, stop, pause, continue a service using Active Directory
Total Hit (1760)
SetFolderIcon - Associate an icon to a folder
Total Hit (1142)
GetCookies - Get local cookies for a given URL
Total Hit (2126)
Moving a Window Without a Titlebar
Total Hit (2087) «Code LangId=1»'Place this code in the declarations section of your form: Option Explicit Declare Function ReleaseCapture Lib "user32" () As Long Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As _ Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Lo ....Read More
GetHiddenClasses - Retrieve all the hidden classes in a type library
Total Hit (987)
ListViewAdjustColumnWidth - Resize ListView's columns to account for their contents
Total Hit (2184) «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
SaveImageList - Save the images in an ImageList control
Total Hit (2403) «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
RemoveCloseMenuItem - Remove the Close button and command from a form
Total Hit (1484) «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
TextBoxGetLine - Return a single line in a multiline TextBox control
Total Hit (1853) «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
WindowsDirectory - The path of the Windows directory
Total Hit (1253) «Code LangId=1»Private Declare Function GetWindowsDirectory Lib "kernel32" Alias _ "GetWindowsDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long ' Return the path of the Windows directory Function WindowsDirectory() As String Dim buffer As String * 512, lengt ....Read More
AddBackslash - Append a backslash to a path if needed
Total Hit (1760) «Code LangId=1»' Append a backslash (or any character) at the end of a path ' if it isn't there already Function AddBackslash(Path As String, Optional Char As String = "\") As String If Right$(Path, 1) <> Char Then AddBackslash = Path & Char Else AddBackslash = Path ....Read More
Setting a pixel color
Total Hit (2235) The PSet method is much slower than it should actually be, and in most cases you will find it convenient to substitute it with direct calls to the SetPixel API functions. This function is about twelve times faster than the VB's method, at least when you can set the form's ScaleMode to Pixels, for mo ....Read More
Create and delete DSN at runtime
Total Hit (6268) If you're developing a VB database application, you're probably using a DSN (data source name) because it makes the access to your database file easier. Of course, when you distribuite your application, you must create the DSN. There are some installation programs that offers the possibility to ....Read More
Setting the width of the last column of a ListView when the control is resized
Total Hit (1481) When you resize a ListView control (this happens automatically if the ListView is docked to the form, and the user resizes the form), it's nice to have the last column to be resized accordingly to cover the available space. To do this, handle the ListView's Resize control (in .NET any control has a ....Read More
Storing objects in the Tag property
Total Hit (2912) The Tag property exposed by many Windows Common Controls (including TreeView's Node objects and ListView's ListItem objects) is more versatile than the ListBox and ComboBox controls' ItemData property, because it is of Variant type and can therefore accept values of most data types. However, it ....Read More
Don't test auto-instancing variables using Is Nothing
Total Hit (1655) You can't reliably test an auto-instancing object variable using the Is Nothing test, because as soon as you reference the variable Visual Basic silently creates an object of the given class, and the test always returns False: «Code LangId=1» Dim x As New MyClass If x Is Nothing Then ' this ....Read More
Prevent dragging elements in a ListView control
Total Hit (2112) The ListView control doesn't expose any property that lets you disable the dragging of its elements. To do so, you must trap the WM_NOTIFY message that the ListView control sends its parent form when the drag operation begins, and "eat" it. Using the MSGHOOK.DLL subclassing library it's easy to acco ....Read More
Change caret size and blink rate
Total Hit (2597) You can alter the size of the caret (this is the name of the cursor within text boxes, not to be confused with the mouse cursor), for instance to ease visibility on notebook computers, or to signal that the text box is in overwrite mode. All you need is a couple of API functions: «Code LangId=1» ....Read More
Using GetPath and PolyDraw API to extract and draw path segments.
Total Hit (3858) GDI Paths are different than most of GDI objects. Path doesn't have handle but they always bound to device context. Path can be generated by calling BeginPath and EndPath API. Here the example how path can be generated. «code LangId=1»BeginPath(Me.hDc) '//.... '//Draw Lines '//Draw Polygon '/ ....Read More
Working with NT EventLog - Part 4 (Implementing CEventLog Class, Reading from EventLog)
Total Hit (6443) «b»«a href='CodeDetail.aspx?CodeId=3724'»<< Previous Article«/a»«/b» | «b»Next Article >>«/b» In my previous article «b»«a href='CodeDetail.aspx?CodeId=3724'»Working with NT EventLog - Part 3 (Implementing CEventLog Class, Writing to EventLog)«/a»«/b» you learned how to write to the EventLog. Thi ....Read More
Optimize Parametrized Queries With ADO Objects
Total Hit (2044) When you write Insert statements, it can be difficult to accommodate the possible values end users might enter into a textbox. The most common task is replacing single quotes with double quotes. However, parameterized queries provide two benefits: You do not have to parse data entered by users—excep ....Read More
How to export ADO recordset to an Excel file
Total Hit (1697) Some times we have situation when we want to export ADO recordset to an excel file. Here is the code ...
BTree - A class for managing binary trees
Total Hit (2197)
This is a link to a different site Prompting for User Entry Using Cue Banners
Total Hit (380) XP-look prompting for edit and combo controls.
This is a link to a different site Tutorial : Drawing & Animation
Total Hit (963) These tutorials are were originally developed as part of a VB Game Programming for beginners book Soren and I were working on. For a variety of reasons the book idea never came to fruition and so we decided to post the material that is finished as a series of tutorials in the hopes that you would fi ....Read More
This is a link to a different site Binding a socket : Winsock API Test Bench sample application
Total Hit (2359) Today we will learn how to use the bind Winsock API function that allows to associate a local address with a socket. We'll modify the Winsock API TestBench sample application in order to give the user of the program to specify local host address and port number for a socket. ....Read More
This is a link to a different site 279815 - How To Validate User Credentials from Visual Basic by ...
Total Hit (1884) A user's credentials are made up of his or her user name and password, which can be used to validate the user on a given Microsoft Windows NT, Microsoft Windows 2000, or Microsoft Windows XP domain. This article demonstrates how to call the Security Support Provider Interface (SSPI) functions from M ....Read More

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