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


TemporaryDirectory - Get Windows temporary directory
Total Hit (1637)
SetIEContextMenuEnabled - Decide whether IE context menu is enabled
Total Hit (1511)
GetScreenSaverState, SetScreenSaverState - Enable or disable the screen saver
Total Hit (1890)
GetNumLockKey - Get the state of the NumLock key
Total Hit (1646)
BackgroundVerticalGradient - Paint a vertical gradient background
Total Hit (1997)
GetClassesByInterface - Retrieve all the classes that implement a given interface
Total Hit (1348)
GetFilePath - Extract the path portion of a file name
Total Hit (1968) «Code LangId=1» ' Retrieve a file's path ' ' Note: trailing backslashes are never included in the result Function GetFilePath(FileName As String) As String Dim i As Long For i = Len(FileName) To 1 Step -1 Select Case Mid$(FileName, i, 1) Case ":" ....Read More
CompactPathToWindow - Shorten a path so that it fits a window's width
Total Hit (1696) «Code LangId=1» Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Declare Function IsWindow Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function GetClientRect Lib "user32" (ByVal hWnd As Long, _ lpRect As RECT) As Lon ....Read More
IsValidDateField - Check whether a date is valid
Total Hit (1489) «Code LangId=1»Enum psDateTypes AnyValidDate 'Allows any valid date to be entered PastDate 'Only allows past dates (before today) to be entered FutureDate 'Only allows future dates (after today) to be entered TodayOrFuture 'Only allows today or future date to be ....Read More
Crc16 - Evaluate the 16-bit CRC of an array of bytes
Total Hit (2183) «Code LangId=1»Option Explicit ' Evalutate the 16-bit CRC (Cyclic Redundancy Checksum) of an array of bytes ' ' If you omit the second argument, the entire array is considered Function Crc16(cp() As Byte, Optional ByVal Size As Long = -1) As Long Dim i As Long Dim fcs As Long Static ....Read More
Windows Installer Appears Every Time I Start an Application
Total Hit (2662) Intended For Windows XP Windows 2000 The Windows Installer is a global application used to install many Microsoft products, including Office 2000 and Office XP, and is even available to third-party developers to include with their programs. Unfortunately, it's fraught with bugs, one of ....Read More
Never use the GetLastError API function
Total Hit (1857) If you heavily use API calls and strictly follow the SDK documentation, you might be tempted to use the GetLastError API to retrieve the error returned by your last API function or procedure. However, this function doesn't always return valid error codes, because Visual Basic internally does a lot o ....Read More
Swap the mouse buttons' behavior and meaning
Total Hit (2218) You can programmatically swap the meaning of the left and right mouse buttons, to account for your left-handed users. All you need is a call to the SystemParameterInfo API function «Code LangId=1» Private Declare Function SystemParametersInfo Lib "user32" Alias _ "SystemParametersInfoA" (By ....Read More
Make a phone call using TAPI
Total Hit (2469) If TAPI libraries are installed on your machine, you can easily dial a number from a VB application using a single API call. Here's a function that encapsulates the call and that returns True if the dialing was successful: «Code LangId=1» Private Declare Function tapiRequestMakeCall Lib "TAPI32. ....Read More
Don't include Extender properties in ActiveX Wizard
Total Hit (1417) The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl's surface. Unfortunately, this list includes Extender properties, methods, and events, which should be never added to the publi ....Read More
A template for building collection class modules
Total Hit (1794) The following is a template for building collection class modules in a very quick and effective way. Copy-and-paste this code into Notepad, that save it to a file named "COLLECTION CLASS.CLS" in the \TEMPLATE\CLASSES subdirectory under the main VB6 directory: «Code LangId=1» VERSION 1.0 CLASS B ....Read More
Ensure that a form's TextBox and ComboBox controls have same height
Total Hit (1555) In general you don't have any control on a ComboBox's Height property, because it is determined automatically by VB depending on the font used for the ComboBox control. If you have a form that contains both TextBox and ComboBox controls, you should ensure that all your single-line TextBox controls a ....Read More
Change the ShowInTaskbar property at runtime
Total Hit (2446) The ShowInTaskbar property lets you decide whether a form is visible in Windows taskbar or not. However, this property is read-only at runtime, so it seems that you can't change this setting while the program is running. Luckly, you just need to change the window's style, using a pair of API functio ....Read More
Reduce the number of DoEvents
Total Hit (2298) Don't fill your code with unnecessary DoEvents statements, especially within time-critical loops. If you can't avoid that, at least you can reduce the overhead by invoking DoEvents only every N iterations of the loop, using a statement like this: «Code LangId=1» If (loopNdx Mod 10) = 0 Then DoEv ....Read More
Guitar simulation using MIDI APIs
Total Hit (3381) «b»Step-By-Step Example«/b» - Create a standard exe project - Add one listbox, combobox and 2 command button controls - Add one class module and rename it to clsMIDI - Add the following code in form1 «b»Form1.frm«/b» «code LangId=1»Dim objMIDI As New clsMIDI Private Enum enumInstruments ....Read More
Working with Meta Files (EMF,WMF and APM)
Total Hit (7044) A metafile is a mechanism for storing a graphics device interface (GDI) "picture"—a series of GDI functions that are used to draw an image. A metafile consists of a series of records, each representing a GDI function. When the metafile is played back, each stored function is executed using its recor ....Read More
How to display API Error Description.
Total Hit (2027) When you execute any system API generally it returns success/failure using return value. To find out any error you have to use GetLastError api or Err.LastDllError property of Err object in VB. But it will return only ErrorCode not description. You can use following code to get description of API Er ....Read More
Another check if a file exists
Total Hit (1115) «Code LangId=1»Function FileExists(strFile As String) As Integer '******************************************************************************** '* Name : FileExists '* Date : Feb-17, 2000 '* Author : David Costelloe '* Returns : -1 = Does not exists 0 = Exists with zero bytes 1 = Exists > 0 ....Read More
Improve String Concatenation Performance
Total Hit (1269)
This is a link to a different site Receiving Data : Winsock API Test Bench sample application
Total Hit (2592) Today we'll learn how to use the recv Winsock API function with Visual Basic in order to read data from the Winsock buffer that collects all the bytes arrived through the network for our application.
This is a link to a different site Changing the Dropdown Width of a Combo Box
Total Hit (382) This routine demonstrates using the API to change the width of the dropdown portion of a combo box. The combo list width is manually set in the accompanying text box.
This is a link to a different site Using the Joystick, Mouse and Keyboard
Total Hit (999) So far we have learned how to move, animate and do some other stuff to sprites. We have also looked into the area of sound playback in games. This is all very nice if you want to create a game with no human interaction. Since this is most likely not the kind of game you want to make, then you need t ....Read More
This is a link to a different site Forcing a local or remote NT system to reboot
Total Hit (1665) Under Windows NT, you can force a timed system shutdown on either the local machine or a remote network machine. This code tip shows how to do it. You can specifiy how long it will be before the machine will be shutdown in seconds (a zero value shuts down immediately), how remorseless the shutdown p ....Read More
This is a link to a different site Create New GUIDs
Total Hit (1373) This sample, from Dion Wiggins ( shows how to use the CoCreateGuid and StringFromGUID2 functions to create a GUID. The code is compiled into an ActiveX DLL which gives the interesting possibility of using the code from an ASP page, or from other ActiveX-enabled scripting ....Read More
This is a link to a different site Owner Draw Combo and List Boxes Version 2.1
Total Hit (767) Owner draw combo and list boxes are an excellent way to improve the look and feel of your application. However, there is little support for them in Visual Basic. The only owner-draw combo box supplied is the Checked list box style, but this is a preset list box style with no possibility for customis ....Read More

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