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


StringFromAddr - Read a string at a given address
Total Hit (2123)
WindowsBuildNumber - Get operating system build number
Total Hit (1236)
ColorToHTML - Convert a VB color for use in a HTML page
Total Hit (1554)
GetDoubleClickInfo - Retrieve double-click rectangle and timeout
Total Hit (2311)
DeleteRegistryKey - Delete a key of the Registry
Total Hit (1338)
GetTreeViewNodeHandle - The handle of any node in a TreeView
Total Hit (2385) «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 Const TVM_GETNEXTITEM = &H110A Private Const TVGN_CARET = 9 ' The handle of any node in a TreeVie ....Read More
GetFileVersionData - Retrieve file versioning information
Total Hit (1670) «Code LangId=1»Private Declare Function GetFileVersionInfoSize Lib "version.dll" Alias _ "GetFileVersionInfoSizeA" (ByVal lptstrFilename As String, _ lpdwHandle As Long) As Long Private Declare Function GetFileVersionInfo Lib "version.dll" Alias _ "GetFileVersionInfoA" (ByVal lptstr ....Read More
VolumeLabel - Read the label of a disk volume
Total Hit (1168) «Code LangId=1»' Return the volume label of a disk ' Pass a null string for the current disk Function VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp = Dir$(drive, vbVolume) ' remove the period after the eigth character VolumeLabel = ....Read More
ReplaceWordEx - Replace whole words, with your choice of delimiters
Total Hit (1230) «Code LangId=1» Option Explicit '------------------------------------------------------------------------ ' This enum is used by both InstrWordEx and ReplaceWordEx ' ' It uses a binary value to determine what separator characters are allowed ' bit 0 = allow spaces ' bit 1 = allow symbols ....Read More
InstrTbl - Search a string for any character in a table
Total Hit (1156) «Code LangId=1» ' If INCLUDE is True or is omitted, return the first occurrence of a character ' in a group ' or zero if SOURCE doesn't contain any character among those listed in TABLE. ' If INCLUDE is False, return the first occurrence of the character in SOURCE ' that does not appear in TAB ....Read More
Disable the Ctrl-Alt-Del key combination (Windows 9x only)
Total Hit (2655) In Windows 95 and 98, when the screen saver is currently active (and the screen is blanked) the Ctrl-Alt-Del key combination doesn't work, in order to force the user to enter her password. You can take advantage of this feature and programmatically disable this key combination, by making Windows bel ....Read More
Extract RGB components from a Long value
Total Hit (2003) You can extract RGB values out of a 32-bit color value by using the integer division and the MOD operators, but there is a much more effective way, based on the LSet. You can convert from a long to rgb bytes and vice versa with the following code: «Code LangId=1» Private Type RGBWrapper Red ....Read More
Quickly build a simple About form
Total Hit (1552) If you need a quick-and-dirty About dialog box for your application, that maintains a consistent look with other Windows applications, look no further than the ShellAbout routine in SHELL32.DLL. Using this function you have little control on what the dialog displays, and you can only customize the P ....Read More
Don't use SetFocus on invisible controls
Total Hit (1481) In the Show event of a form you might be tempted to use SetFocus to select which field the end user should begin working with. However, this method raises an error 5 when applied on a control that is currently invisible. If the logic of your application should give the focus always to the same c ....Read More
Get a reference to a form given its name
Total Hit (1439) In some cases you might want to activate a form given its name, but VB doesn't let you do it directly. However, it is easy to create a function that does it by iterating over all the forms in the current project:
Always use "$-typed" string functions
Total Hit (1861) VB official documentation seems to encourage you to use "$-less" string functions, e.g. Left, LTrim or UCase, instead of their time-honored Left$, LTrim$ and UCase$ counterparts. If you do so, however, you should be aware that the former ones return a variant value that, when used within string expr ....Read More
Short-circuit evaluation with Select Case
Total Hit (2494) Short-circuit evaluation is an optimization technique automatically adopted by most modern compilers, including all flavors of C++, Borland Delphi and many others. Unfortunately, the Visual Basic compiler is not in this group. This optimization cuts down the time needed to evaluate a boolean express ....Read More
How to format miliseconds into hour, minute and seconds using StrFromTimeInterval API
Total Hit (1783) If you're working with VB built-in date/time functions, you can use VB Format function to convert Date/Time to any format you need. But API functions often return time in milliseconds. See how to convert it in readable format: «code LangId=1»Private Declare Function StrFromTimeInterval Lib "shlw ....Read More
How to extract associated icon of a file and draw in various state (i.e enabled, disabled & dithered)
Total Hit (2493) This sample demonstrates how simple it is to draw disabled, colourised and dithered icons, image or string. This task can be accomplished by DrawState API. DrawState can draw string, image or icon in normal, disabled, colourised or dithered state. «b»Step-By-Step Example«/b» - Create a standar ....Read More
High quality image scaling
Total Hit (2023) Have you ever tried to use StretchBlt to resize image. Yep its easy to use with VB but if you use it without setting correct "Stretch Mode" it wont be a high quality image. To get high quality stretched image you can call SetStretchBltMode and set HALFTONE mode for highest quality image resizing. Fo ....Read More
Get CPU name using low level machine instructions (Assembly!) in VB!
Total Hit (3287) Here is the most advanced technique probably you have ever seen in VB. Haven't you been told by the "experts" that you can't do low level programming stuff in VB which you can do in C/C++/ASM ? But here I shall prove them wrong. This little code will demonstrate how to execute low level Machine inst ....Read More
How to use AlphaBlend function to display transparent or semitransparent images ?
Total Hit (4690) In this article we will see how to use new AlphaBlend API which is only available in win 2k and later , Win 98 and later. In this example we have function called DoAlphablend and this function takes 3 arguments : source picturebox, destination picture box and AlphaVal. Alphavalue determine the trans ....Read More
How to set width of Datareport ?
Total Hit (2181) Following code will set custom width and height for VB Datareport for a specified Printer
This is a link to a different site How to Set Item Indentation in a ListView
Total Hit (492) Many people erroneously believe that the 'control' used in displaying hierarchical data such as Outlook Express' news reader view is a treeview control with columns. Actually, the control is a ListView taking advantage of the comctl version 4-specific Indent member of the LV_ITEM structure. This pag ....Read More
This is a link to a different site Determining Free Disk Space on a Fat32 (or NTFS) Drive
Total Hit (1333) The routine presented here will return the correct free and used disk sizes on volumes over 2 gigabytes as supported by the FAT32 partitions implemented in Windows95 OEM Service Pack 2, aka OSR2, and in Windows 98 where the Fat32 drive conversion has been made, or on NTFS partitions on NT4, Windows ....Read More
This is a link to a different site ListView Demo 1 - Obtaining the File Path
Total Hit (697) This page details the code required to construct the base form, and the code necessary to retrieve the user's selection using the Windows Browse dialog. When the demo is completed, the final app will retrieve the users selection and populate the listview with selected files from that folder, comp ....Read More
This is a link to a different site Displaying a Balloon Tip in a Combo Box
Total Hit (763) Note: In order for EM_HIDEBALLOONTIP to function correctly users must not have disabled the "Enable balloon tip" setting on the system. Using TweakUI for XP, this is located under the Taskbar group of options. It is also directly accessible as a registry entry under HKEY_CURRENT_USER \ Software \ Mi ....Read More
This is a link to a different site Blend Two Colours Together Using Alpha
Total Hit (1017) If you're not using GDI+ for drawing, then there isn't an easy way to determine what colour you would get if you blended two colours together with a specified alpha amount. This article provides a routine that allows you to do it using straight VB code. ....Read More
This is a link to a different site Replace one Colour with another in a Picture using BitBlt
Total Hit (1706) This tip shows you how to replace one colour with another in a bitmap. This method uses BitBlt to ensure the operation is as speedy as possible, and will run very quickly.
This is a link to a different site Scale, Rotate, Skew and Transform Images using GDI+
Total Hit (1208) GDI+'s image rendering is considerably more powerful than the basic bitmap transfer functions provided under GDI. You can perform high-quality rotation, scaling and skewing with no additional lines of code: and better still the functions run very fast on half decent machines. ....Read More

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