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


Run a Stored Procedure Asynchrous with ADO
Total Hit (1508)
WindowsVersion - The version number of the operating system
Total Hit (1337) Just copy and paste the following code into Form code window «code LangId=1»Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * 128 End Type Priva ....Read More
GetServicesInfo - Enumerate Windows NT services
Total Hit (1829)
GetBatteryTime - Get the life time of a notebook's battery
Total Hit (1322)
GetIDESetting - Retrieve a setting for the Visual Basic IDE
Total Hit (1520)
StringToCode - Convert a string to the corresponding VB code
Total Hit (1372)
GetTreeViewNodeRect - The bounding rectangle of a TreeView's node
Total Hit (2570) «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
DirExists - Check that a directory exists
Total Hit (2095) «Code LangId=1» ' Return True if a directory exists ' (the directory name can also include a trailing backslash) Function DirExists(DirName As String) As Boolean On Error GoTo ErrorHandler ' test the directory attribute DirExists = GetAttr(DirName) And vbDirectory ErrorHandler: ....Read More
GetAllFiles - Search files in a directory or directory tree
Total Hit (3557) «code LangId=1»Private Sub Command1_Click() Dim col As Collection '//Get all files from C:\ (No sub folder) which are older than 5 days and newer than 30 days Set col = GetAllFiles("c:\", "*.*", False, 30, 5) For Each f In col Debug.Print FileDateTime(f) & "=>" & f ....Read More
PerformanceTimer - A class module for high-resolution time measurement
Total Hit (2404) «Code LangId=1» '------------------------------------------- ' PerformanceTimer class module '------------------------------------------- ' Use this class to profile your code and any other operation ' typically with a precision greater than 1 millionth of a second ' ' As soon as you creat ....Read More
SplitQuoted - A split variant that deals correctly with quoted elements
Total Hit (1227) «Code LangId=1» ' split a string, dealing correctly with quoted items ' ' TEXT is the string to be split ' SEPARATOR is the separator char (default is comma) ' QUOTES is the character used to quote strings (default is """", ' the double quote) ' you can also use a character pair (eg "{}" ....Read More
Base Conversion module - A module to convert numbers between any bases
Total Hit (2856) «Code LangId=1»'----------------------------------------------------------------- ' Module: mBases ' (C) 2000 Trinet Ltd, ' Author: R. Deeming ( ' ' Purpose: To provide simple conversion between different ' number ba ....Read More
The best setting for the RunAs option in a server package
Total Hit (1133) When you deploy COM objects in DLLs no security issues arise since DLLs run in the process of the caller. On the contrary, when you deploy your COM objects into an .EXE, you have to deal with such issues. - (D)COM needs to know under what security principal (read identity) the process, where you ....Read More
Determine the number of mouse buttons
Total Hit (2039) Sometimes is useful to know how many buttons the user's mouse has. This value can be obtained by calling GetSystemMetrics. The constant to pass as parameter is SM_ CMOUSEBUTTONS. Here's an example: «Code LangId=1» Const SM_CMOUSEBUTTONS = 43 Private Declare Function GetSystemMetrics Lib "user3 ....Read More
A dual use of a lookup query
Total Hit (1581) Usually in your application you use two different types of lookup query; the first one is for retrieving a page of records (or all records) to populate a pick list, the other one is to retrieve a single record, i.e. for decoding a code description while user is typing it in a textbox. So, if your qu ....Read More
Using CallByName with nested objects
Total Hit (2022) Sometimes Microsoft documentation can be, well lacking is a kind word, and one is reluctant to call tech support when they smoke your credit card first, and ask questions later. My problem was that the CallByName procedure was refusing to call nested lasses. To see what I mean, consider that if y ....Read More
Limit the length of the text in a TreeView node
Total Hit (3300) The TreeView control doesn't expose any property that lets you limit the amount of text users can type when editing a Node's label. However, you can do the trick with a couple of SendMessage API calls from within the BeforeLabelEdit event: with the TVM_GETEDITCONTROL message you retrieve the handle ....Read More
Get the handle of the edit portion of a ComboBox
Total Hit (2232) The ComboBox control contains an invisible Edit window, which is used for the edit area. In most cases you don't need to access this inner control directly, but occasionally a direct control of that window can be useful. The first thing to do is get the handle of such inner Edit control, which you d ....Read More
Make a Checkbox control read-only
Total Hit (2308) By default, VB's CheckBox controls automatically toggle their Value property when the user clicks on them. This is usually the desired behavior, but at times you may want to be able to change their value only programmatically. Unfortunately, you can't achieve this result by simply setting the CheckB ....Read More
Undocumented trick to speed up functions that return array
Total Hit (1841) VB6 functions can return an array. Unlike regular functions that return scalar values or objects, however, you can't use the name of the function as a local variable where to store intermediate result, and you are forced to work with a temporary local array, and then assign this array to the Functio ....Read More
Simplify and optimize expressions with And, Or and Xor operators
Total Hit (2027) Let's assume you must test whether the most significan bit of an integer value is set or not. This is the code that you usually write: ' two cases, depending on whether the value is Integer or Long If intValue And &H8000 Then ' most significant bit is set End If If lngValue And &H8000000 ....Read More
Enumerate local/global groups, Enumerate users and user membership in all groups
Total Hit (6715) In this article you will learn couple of LAN Manager APIs to list groups and users. This demo uses the following APIs «code LangId=0»NetAPIBufferFree : Frees memory allocated by the NetApiBufferAllocate function and other network management functions. NetGroupEnum : Lists all global groups on a se ....Read More
Handling NTFS Permissions Part -1 (handling kernel object permissions)
Total Hit (5854) The Win32 Application Programming Interface (API) provides two sets of APIs for working with security descriptors and access control lists (ACLs): low-level and high-level. This series of articles provide a complete set of Microsoft Visual Basic code samples that use low-level access control APIs to ....Read More
This is a link to a different site XPath Visualizer:A visual tool to test your XPath Statements
Total Hit (971) XPath Visualiser is a tool that enables you to test your XPath queries. This is a full blown Visual XPath Interpreter for the evaluation of any XPath expression and visual presentation of the resulting nodeset or scalar value. «b»Screenshots:«/b» «a href=" ....Read More
This is a link to a different site HOWTO: Use the Chart Web Component with Visual Basic
Total Hit (1766) This article shows the different ways that you can access the documentation for Microsoft Office Web Components (OWC). The article also includes information about additional resources for programming the OWC.
This is a link to a different site Obtaining Logical Disk Information using WMI
Total Hit (825) Windows Script Host is built into Microsoft Windows 98, 2000, ME and XP. If you are running Windows 95 or NT4, you can download Windows Script Host from the Microsoft Windows Script Technologies Web site at Some information is not returned on non-NT-based system ....Read More
This is a link to a different site Detecting ListView SubItem Clicks in Normal And FullRowSelect Mode
Total Hit (697) This page demonstrates using the LVHITTESTINFO type along with the LVM_SUBITEMHITTEST message to determine where on the control the mouse was clicked, regardless of the view mode or whether the FullRowSelect feature has been enabled (Label1). The code is provided in the MouseDown event to both take ....Read More
This is a link to a different site Thumbnail Extraction Using the Shell
Total Hit (1486) Since Windows Me/2000, the Windows Shell has included a mechanism for extracting a small thumbnail image for any item in the namespace. This sample demonstrates how to use this function to get thumbnail images for web pages, images, Office documents - in fact anything that supports thumbnailing in E ....Read More
This is a link to a different site vbAccelerator Accelerator Control
Total Hit (576) If you've ever tried to pick a keyboard accelerator for the menu items Back and Next in your application, you might have discovered a limitation in VB's ability to set up accelerators. IE offers some sensibly chosen keyboard accelerators for its Back, Next, Home shortcuts, using Alt and the arrow an ....Read More
This is a link to a different site Icons without forms and document association icons in VB
Total Hit (1366) VB allows you to choose an icon for an executable, but it offers a somewhat limited choice. The icon must be stored in a form included in your VB project, and you can only pick one icon to be exposed publicly per project. Whilst the single icon is the most important one, you might want to have addit ....Read More

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