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


How to Open and Close CD gate
Total Hit (1389) API Declarations «Code LangId=1» Option Explicit 'Declare Declare Function mciSendString Lib "winmm.dll" Alias _ "mciSendStringA" (ByVal lpstrCommand As String, ByVal _ lpstrReturnString As String, ByVal uReturnLength As Long, _ ByVal hwndCallback As Long) As Long «/Code» M ....Read More
SetIESaveAsEnabled - Decide whether IE SaveAs command is enabled
Total Hit (1128)
ButtonDown, ButtonUp, MouseClick, MouseDblClick - Simulate mouse activity
Total Hit (3202)
Drawing Polygon with ALTERNATE and WINDING style
Total Hit (2676)
A simple doublely linked list class
Total Hit (1609)
ListBoxSelectRange - Select or unselect a range of elements in a ListBox
Total Hit (1779) «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
SynchronizeDirectoryTrees - Synchronize files in two directory trees
Total Hit (1382) «Code LangId=1»' Synchronize two directory subtrees ' ' This routine compares source and dest directory trees and copies files ' from source that are newer than (or are missing in) the destination directory ' if TWOWAYSYNC is True, files are synchronized in both ways ' NOTE: requires the C ....Read More
ReplaceArgs - Replace numbered placeholders in a string
Total Hit (1100) «Code LangId=1»' Replace placeholders in the form @@1, @@2, etc. ' with arguments passed after the first one. ' For example, calling this function with ' res = ReplaceArgs("File @@1 not found on drive @@2", "README.TXT", "C:") ' it returns the string ' "File README.TXT not found in drive ....Read More
FormatPhoneNumber - Format a phone number
Total Hit (1826) «Code LangId=1»' Modify a phone-number to the format "XXX-XXXX" or "(XXX) XXX-XXXX". Function FormatPhoneNumber(ByVal text As String) As String Dim i As Long ' ignore empty strings If Len(text) = 0 Then Exit Function ' get rid of dashes and invalid chars For i ....Read More
Combinations - The number of combinations of N objects in groups of N
Total Hit (1567) «Code LangId=1»' number of Combinations of N objects in groups of M ' ' Note: requires the FACTORIAL routine Function Combinations(ByVal Objects As Long, ByVal GroupSize As Long) As Double Combinations = (Factorial(Objects) / Factorial(Objects - GroupSize)) / _ Factorial(GroupSize ....Read More
Factorial - The factorial of a number
Total Hit (1243) «Code LangId=1»' The factorial of a number ' ' if NUMBER is negative or >170 it raises an ' "subscript out of range" error Function Factorial(ByVal number As Long) As Double Static result(170) As Double ' this routine is very fast because it ' caches all the possible resul ....Read More
KeepInRange - Ensure that a value is in a given range
Total Hit (1090) «Code LangId=1»' Keep the first argument in the range [lowLimit, highLimit] ' If the value is adjusted, the fourth (optional) argument is set to True ' ' Note that value and limit arguments are variant, so you can use ' this routine with any type of data. Function KeepInRange(value As Varian ....Read More
Be careful in using CreateObject with two arguments
Total Hit (2055) If you install a COM+ application proxy on a client and open its Properties dialog, you'll see that the field "Remote Server Name" is set to the server where you created and exported the application. Before you export the component, you can also change the server name by setting the "Application Pro ....Read More
Get the Windows main directories (without any API call)
Total Hit (2191) The usual way to determine the Windows' main directory is based on the GetWindowsDirectory API function, which requires that you set up a buffer for the result, and then extract the null-terminated result. However, there is a much simpler approach, that works equally well under Windows 95, 98 and NT ....Read More
Build a simple browser for icons
Total Hit (2035) Winodws uses a special browser to show all icons contained in a file and offers the end user the possibility to choose an icon from it. You can add this functionallity to your applications through an undocumented API function, SHChangeIconDialog. Its Declare is: «Code LangId=1» Declare Function ....Read More
The number of lines in a multiline TextBox control
Total Hit (2087) You can quickly determine how many lines of text are contained in a multiline TextBox control whose Scrollbars property is set to 3-Both - that is, when the TextBox behaves like a programmer's editor - by counting the number of CR-LF characters in the Text property. You can do that in just one line ....Read More
Determine when a ComboBox's area is being closed
Total Hit (1658) The ComboBox control exposes the DropDown event, that lets you determine when its list area is being opened. However, VB doesn't offer any simple way to understand when the list area is being closed. You can achieve this by intercepting the WM_COMMAND message that the ComboBox control sends to its c ....Read More
Manually coerce to Long all Integer expressions that might overflow
Total Hit (1875) This is something that expert VB developers know very well, yet every know and then an otherwise perfect VB app stops with a fatal overflow error because of Integer overflow. Consider the following code: «Code LangId=1» Dim LongVariable As Long LongVariable = 256 * 256 «/Code» This raises th ....Read More
Swap strings the fast way
Total Hit (2277) Consider the usual way of swapping two strings: «Code LangId=1» Dim s1 As String, s2 As String Dim tmp As String ' initialize the strings s1 = String$(1000, "-") s2 = String$(1500, "+") ' do the swap, through a temporary variable tmp = s1 s1 = s2 s2 = tmp «/Code» If you put the abo ....Read More
Performing FTP operation using WinInet APIs
Total Hit (10674) «b»Step-By-Step Demo«/b» - Create a standard exe project. - Add one module to the project. - Add six textbox controls and nine command button controls on the form1. Set MultiLine=True and Scrollbar=Both for Text6. - add two frame controls and add two radio button controls to each frame. «b» ....Read More
How To Call CLSID And ProgID Related COM APIs in Visual Basic
Total Hit (3307) This article demonstrates how to use a set of related Component Object Model (COM) APIs that retrieve and manipulate CLSIDs and ProgIDs. The following APIs are discussed: «UL»«LI»CLSIDFromProgID: To retrieve the CLSID of a COM object with a given ProgID. «LI»StringFromCLSID: To convert a CLSID s ....Read More
How to install/uninstall Printer Driver programatically ?
Total Hit (4446) This article will show you how to install/uninstall Printer Driver without any user interaction. «b»Step-By-Step Example«/b» - Create a standard exe project - Copy and Paster the following code in form code window - Make sure you modify various parameter according to your requirement. «c ....Read More
How to set print layout of Excel file programatically using VB code
Total Hit (8533) This code will show you - How to make column width to auto fit - How to set column width - How to set papersize - How to set page orientation
This is a link to a different site Displaying Modal Form Activity on a Parent Form 'PhotoShop' Progress Bar
Total Hit (748) Like its sister example, this shows how to call a progress bar housed on a parent form (SDI or MDI) to track activity being performed in another form, even when that form is modal. Unlike the VB progress bar demo however, this demo is for those preferring to use the 'PhotoShop' style progress bar th ....Read More
This is a link to a different site How to Display Grid Lines in a ListView
Total Hit (943) By setting a ListView extended style bit using the API SendMessage with the message LVS_EX_GRIDLINES, the ListView columns and rows will be separated by a grey grid line.
This is a link to a different site Alpha Image Creator
Total Hit (1535) As described in the Alpha DIBSection article, if you want to draw an image which has per-pixel-alpha using the AlphaBlend call, then you need a bitmap with an alpha channel and R,G,B components which have been pre-multiplied. These bitmaps are hard to come across in the wild, hence this utility to a ....Read More
This is a link to a different site vbAccelerator Visual Studio Style ToolBox ListBar
Total Hit (595) This control provides a full implementation of a Visual Studio-style List Bar which holds lists of controls. Bars and items can be dragged around the control, and items can be dragged, pressed or double-clicked to add the item to an object.
This is a link to a different site Splitting Aligned Controls on MDI Forms
Total Hit (1415) This article provides an easy to use class which allows resizing of any aligned control on an MDI form. The code is also available packaged as a DLL for ease of debugging, as it uses a subclass which can make things awkward in the IDE.
This is a link to a different site Simple Text Animation effects using Kerning
Total Hit (1086) This article demonstrates how to create an basic text animation by modifying the character spacing using Kerning.
This is a link to a different site Two code only solutions for displaying Common/Dialogs
Total Hit (717) The Common Dialog/Direct component provides you with a more functional version of the Common Dialog control which also means you no longer need a form to create Common Dialogs. These samples show how you can go one further with your app and remove the need to ship any DLLs at all! ....Read More

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