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


SetKeyboardRepeatInfo - Set values about keyboard auto-repeat feature
Total Hit (2496)
CheckMathProcessor - Check whether a math processor is installed
Total Hit (1049)
CUDL - A class to create UDL files
Total Hit (2036)
IsOfficeAppPresent - Check whether an Office application is present
Total Hit (2060)
QuickSort - Sort Arrays using the QuickSort Algorithm
Total Hit (1202) «Code LangId=1»' QuickSort an array of any type ' QuickSort is especially convenient with large arrays (>1,000 ' items) that contains items in random order. Its performance ' quickly degrades if the array is already almost sorted. (There are ' variations of the QuickSort algorithm that work goo ....Read More
GetAttrDescr - The attributes of a file in a readable format
Total Hit (1581) «Code LangId=1» ' The attributes of a file in a readable format. ' It works also with open files, raises an error if the file doesn't exist. Function GetAttrDescr(filename As String) As String Dim result As String, attr As Long ' get file attributes as a bit-coded field attr = ....Read More
Concatenate an array of strings with commas and a final "and", or other separators
Total Hit (1010) «Code LangId=1»' Concatenate an array of strings with commas and a final "and", ' or other separators ' ' Example: ' Debug.WriteLine("Choose one from " & CreateStringList(New String() {"item1", ' "item2", "item3"})) ' ' => Choose one from item1, item2 and item3 Function CreateStringL ....Read More
Permutations - Number of permutations of N objects in groups of M
Total Hit (1096) «Code LangId=1»' number of permutations of N objects in groups of M ' ' Note: requires the FACTORIAL routine Function Permutations(ByVal Objects As Long, ByVal GroupSize As Long) As Double Permutations = Factorial(Objects) / Factorial(Objects - GroupSize) End Function «/Code» ....Read More
Download a file with one API call
Total Hit (2742) If you have Internet Explorer 5 or later version, you can use an API call to download a file from the Internet withouth displaying any message box. «Code LangId=1» Private Declare Function URLDownloadToFile Lib "urlmon" Alias _ "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As Strin ....Read More
Cascade all the child windows of a window
Total Hit (1940) The Windows API provides an handy function that lets you cascade all the child windows of another window with one single call. The effect of this function is similar to the Cascade Windows command in most MDI apps, except the parent window doesn't have to be an MDI window. This is the (incorrect) ....Read More
Create explicit Field objects when looping on large Recordsets
Total Hit (1653) Whenever you access a database field through the Recordset object you incur in a slight overhead. Take for example the following code snippet: «Code LangId=1» Dim rs As New ADODB.Recordset rs.Open "SELECT au_lname, au_fname FROM authors", "DSN=pubs", , , adCmdText Do Until rs.EOF List1. ....Read More
Open and close the CD drive's door
Total Hit (2106) Here's a short code snippet that lets you programmatically open and close the CD door. Note that not all the CD drives support these functions: «Code LangId=1» Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" _ (ByVal lpstrCommand As String, ByVal lpstrReturnStr ....Read More
Determine how a control got the focus
Total Hit (1641) At times it might be convenient to know how a given control got the focus, namely by means of the Tab key, an associated hotkey or a click of the mouse. You can learn this information through the GetKeyState API function, that returns the current state of a key. Here is a simple function that is mea ....Read More
The number of days in a month
Total Hit (2662) You need just one-line function to evaluate the number of days in a month (while taking leap years into account, of course). The trick is to use the DateDiff and DateSerial functions to calculate the difference between the first day of the current month and the first day of the subsequent month : ....Read More
Retrieve the currency symbol
Total Hit (1706) It is very simple to retrieve the correct currency symbol, using just plain VBA statements: «Code LangId=1» currSymbol = Trim$(Replace(FormatCurrency(0,0), "0", "")) «/Code» If you can also determine if the symbol precedes or follows the currency amount using this method: «Code LangId=1» If ....Read More
Use the right type for constants
Total Hit (1755) VB stores symbolic and literal constants internally using the simplest data type possible; this means that most common numeric constants-such as zero or one-are stored as Integers. If you use these constants in floating point expressions you can speed up your code using a constant of appropriate typ ....Read More
Implement the CallByName function using the TLI library
Total Hit (3843) Thanks to the undocumented TlbInf32 library you can emulate the VB6 CallByName() function in VB5 too. First, add a reference to the "TypeLib Information" type library in your project. This library contains the InvokeHook function, which is very similar to CallByName. Let's suppose you have an Act ....Read More
How to retrive and delete all internet cache entries?
Total Hit (3452) In this article I will show you the use of FindFirstUrlCacheEntry, FindNextUrlCacheEntry, FindCloseUrlCache and DeleteUrlCacheEntry APIs. First three APIs are used to retrive cache entries and DeleteUrlCacheEntry is used to delete a specific entry from the cache. Here is the example «b»Step-By ....Read More
Add group, remove group, add users to group, remove users from group using LanMan API
Total Hit (6305) This article will show you use of NetGroupAdd/NetGroupDel, NetGroupAddUser/NetGroupDelUser, NetLocalGroupAdd/NetLocalGroupDel and NetLocalGroupAddMembers/NetLocalGroupDelMembers API to for group management. Windows NT and Windows 2000 exposes LanMan 32-bit Application Programming Interfaces (API ....Read More
How to use BeginPath and EndPath to fill open shapes.
Total Hit (3083) Have you ever tried to fill shapes which are drawn by Polyline or PolyBezier which doesn't draw closed figures. The problem is its not closed figure so you cannot fill using regular fill method which works very well with closed figures. The solution to this problem is BeginPath and EndPath apis Y ....Read More
Get the List of all the Active Tasks
Total Hit (2665) API Declarations «Code LangId=1» Option Explicit ' API Constants Const WS_MINIMIZE = &H20000000 ' Style bit 'is minimized' Const HWND_TOP = 0 ' Move to top of z-order Const SWP_NOSIZE = &H1 ' Do not re-size window Const SWP_NOMOVE = &H2 ' Do not reposition window Const SWP_SHOWWINDOW = & ....Read More
This is a link to a different site HTTP with MS Winsock Control - Part V - Retrieving binary files from the Web
Total Hit (1327) In this tutorial we'll bring to the Simple HTTP Reader sample the ability to handle binary files retrieved from the Web, particularly image files such as gifs and jpgs. The sample will determine type of the retrieved resource and then pass the downloaded data to a picture box, if that resource is an ....Read More
This is a link to a different site Retrieving Partial Content via HTTP : HTTP with MS Winsock Control - Part VIII
Total Hit (1675) The current specification of the HTTP, RFC 2616, defines the method to download any part of the file located on a web server. What have we got with this feature of the protocol? We can resume a broken data transfer, we can retrieve specific parts of documents to explore its properties... ....Read More
This is a link to a different site How to Determine Selected ListItems
Total Hit (945) A quick routine to demonstrate using SendMessage with LVM_GETSELECTEDCOUNT and LVM_GETNEXTITEM messages to traverse a listview to retrieve the indices to the selected items in a MultiSelect control. Also contains a portion of the LVM_SUBITEMHITTEST code from How to Deselect ListItems on Clicking a L ....Read More
This is a link to a different site Creating a Common Control Progress Bar - Overview
Total Hit (881) The following is an explanation of the messages and structures used by the Windows Progress Bar common control, written by Brad Martinez and provided for distribution on VBnet. The Windows Common Controls API continues to grow as more features are added. Currently, comctl32.dll contains the follo ....Read More
This is a link to a different site Adding Radio Buttons to Replace the Default Checkmarks
Total Hit (659) When you offer several choices in a menu, you may want to implement a radio button-style selection. This routine handles menus on any form or position on the menu bar.
This is a link to a different site Enumerating the Installed and Supported System Locales
Total Hit (1015) In addition to locale information pertaining to the current system setting, the EnumSystemLocales API provides the means to enumerate via callbacks all supported or installed national language support for a given system. Armed with the country LCID's returned by the call, an application can retrieve ....Read More
This is a link to a different site HiWords and LoWords from Long Values
Total Hit (501) When translating C code to VB, you quite often come across the HiWord and LoWord operators, used to pack two integers into a long value. A simple translation of HiWord code will run into difficulties when unsigned integer arithmetic is being used in the C code and the highest bit of the long value c ....Read More
This is a link to a different site Storing Objects Against ItemData and Tag properties
Total Hit (1344) ListBox and Combo boxes have an ItemData property to allow you to store an additional long value against each ListItem. Similarly, ListView items and TreeView nodes have a Tag property which can be used to store a string. But what if you want to associate more data along with an item? Clearly you ca ....Read More
This is a link to a different site vbAccelerator S-Grid Control
Total Hit (1553) The SGrid control is an all-VB grid which can emulate the Outlook messages list, including grouping of messages and message preview. The highly optimised display code makes this grid draw faster than FlexGrid and other VB grids even while it allows more sophisticated displays to be set up. It is als ....Read More

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