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 


Creating an API Window (Using C Style Message Loop and Window Proc)
Total Hit (9690) Sometimes you might need to create a window using code on the fly. Many times I have been asked that why do I write this odd code to create a very simple form,I can use VB form instead of Dynamic C style window creation.... Now here is the answer One common use of this technique in socket pro ....Read More
How To Call CLSID And ProgID Related COM APIs in Visual Basic
Total Hit (3189) 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
Working with Bitmap and DIB
Total Hit (10769) In this article we will learn basic concept to work with Bitmap and DIB. We will wrap all functionality in a handy class which can give you ability to work with 2D Pixel array of Bitmap loaded into the memory. Before we implement DIB and BMP class lets understand BMP file format which is DIB (Dev ....Read More
How to install/uninstall Printer Driver programatically ?
Total Hit (4358) 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 get information of all installed IP's on current system.
Total Hit (2399) This article will show you how to get all installed IP addresses and subnet mask on your system. To implement quick demo perform the following steps - Create a standard exe project - Add a module - Add 1 command button and 1 text box with MultiLine=True Place the following code in Form1 d ....Read More
How to set print layout of Excel file programatically using VB code
Total Hit (8393) 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
GetUNCName - Convert a file path to a UNC path
Total Hit (5910)
PressVirtKey - Press and/or release any key
Total Hit (2703)
BackgroundCircularGradient - Paint a circular background gradient
Total Hit (2343)
Drawing Polygon with ALTERNATE and WINDING style
Total Hit (2558)
ListBoxSelectRange - Select or unselect a range of elements in a ListBox
Total Hit (1727) «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
IsStringLower - Determine whether a string contains only lowercase chars
Total Hit (1017) «Code LangId=1» Private Declare Function IsCharLower Lib "user32" Alias "IsCharLowerA" (ByVal _ cChar As Byte) As Boolean ' Check is the specified string is composed only by lower case characters (no ' digits and no special chars) ' Example: ' MsgBox "Is lower case? " & IsStringLower ....Read More
Factorial - The factorial of a number
Total Hit (1191) «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
Show the contents of the Recycle Bin folder
Total Hit (1266) You can use the ShellExecute API function to programmatically open a window of Explorer and display the contents of the Recycle Bin. This is the function's declare: «Code LangId=1» Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpO ....Read More
Create a better InStr function with VBScript regular expressions
Total Hit (12575) Regular expressions offer an extremely powerful way to search and replace text inside a string using sophisticated search criteria, far behind the capabilities of VB's InStr and Replace functions. For example, you can search for whole words, or find a match with a range of characters (for example, a ....Read More
Smart Tab key processing in multiline TextBox controls
Total Hit (1623) The only way for a Tab key to insert a tab character in a multiline text box is that the text box is the only control on the form, or at least the only control whose TabStop property is set to True. Otherwise, pressing the Tab key you simply move the focus to another control on the form. If there ....Read More
The number of lines in a multiline TextBox control
Total Hit (2020) 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
Create TextBox with dithered background
Total Hit (1486) If your video display has 256 colors or less and you assign a dithered color to the BackColor property of a TextBox control, you'll find that the background color under the text inside the TextBox is displayed in a different (solid) color. To work around this issue, you must trap the WM_CTLCOLOR ....Read More
Determine when a ComboBox's area is being closed
Total Hit (1562) 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
Benchmarks with millisecond accuracy
Total Hit (2481) The Timer function returns a value which is only accurate to about 55 milliseconds, therefore it is not very useful for doing accurate benchmarks. If you need a better resolution you may try out this function:
The "And" operator is faster than "Mod"
Total Hit (2931) Using the "And" operator instead of "Mod" may speed up your program under certain situations. Use the And operator instead of Mod when the divisor is a number in the form 2^N. For instance, there are two methods to extract the least significant byte in an Integer: «Code LangId=1» lowByte% = valu ....Read More
How to Disable the Ctrl-Alt-Del keys combination...
Total Hit (1930) API Declarations «Code LangId=1» Private Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long «/Code» Module «Code LangId=1» Sub DisableCtrlAltDelete(bDis ....Read More
How to Open and Close CD gate
Total Hit (1322) 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
This is a link to a different site Developing with a new standard in UI
Total Hit (1786) In this new century we enter, everything relating to software should have a standard of quality. For small time programmers, that doesn't necessarily mean having quick turnaround or technical support response. No, for quality, I mean having features that can make your user interface smart and easier ....Read More
This is a link to a different site Read the NumLock and CapsLock key states
Total Hit (1428) This sample demonstrates how to determine the state of the NumLock and CapsLock key (plus any other key on the keyboard at the same time).
This is a link to a different site StringBuilder Class for VB
Total Hit (1287) If you need to build a string by adding lots of pieces together, VB's string handling is slow because a new string is created in memory every time a new piece is added. This article presents a class which allocates a string chunk and then uses memory copy methods to manipulate the data within the sa ....Read More
This is a link to a different site vbAccelerator Visual Studio Style ToolBox ListBar
Total Hit (586) 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 Forcing Any Window to Show in the Taskbar
Total Hit (1433) VB provides a ShowInTaskBar property for forms which is meant to set whether a form is shown in the Alt-Tab sequence and the shell's task bar. However there are two limitations to this: The property can't be set at run-time. Erm, it doesn't work anyway. Ok, it can work, but only when your form ....Read More
This is a link to a different site Draw disabled, colourised and dithered icons with the DrawState GDI function
Total Hit (1412) This sample demonstrates how simple it is to draw disabled, colourised, selected and dithered icons from Image Lists. The VB Image List provides a method to draw an item selected, but doesn't give you very much flexibility from there.
This is a link to a different site Two code only solutions for displaying Common/Dialogs
Total Hit (704) 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.