Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 51 of 54) 1607 Result(s) found 

 

Tip: Simple way to add delay without blocking your thread (Pure VB).
Total Hit (2302) Sometimes you might need to add delay into your application. You can use Sleep API but it blocks execution of current thread so your application becomes non responsive. But here is the simple trick to solve that problem and its easy to use. «code LangId=1»Sub Delay(nMiliSec As Single) Dim t1 ....Read More
Rating
How to Add/Remove NT group programatically
Total Hit (4034) This article will show you use of NetGroupAdd and NetGroupDel API to add/remove NT user group. Windows NT and Windows 2000 exposes LanMan 32-bit Application Programming Interfaces (APIs) to provide network services. These APIs are called only from 32-bit programs running on a Windows NT or Window ....Read More
Rating
Monitor folder activities using ReadDirectoryChangesW API(Win9x/Me not supported)
Total Hit (15781) This code wraps up the Win32 API function ReadDirectoryChangesW so that your application only has to worry about responding to the events that take place when a file or directory is added, removed, modified, or renamed. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one tim ....Read More
Rating
Handling NTFS Permissions Part-2 (handling user object permissions)
Total Hit (11217) 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
Rating
How to use font for your application without installing into the system's font folder.
Total Hit (3352) Windows application use only those fonts which are registered into the registry and copied to the Fonts directory. But what if you have to use font for your application which is not installed yet. This code will show you how you can add font entry in to windows font table which is just temperory ....Read More
Rating
URLDecodeEx - Decodes an encoded URL
Total Hit (2765)
Rating
MaxSystemColors - The number of screen colors
Total Hit (1994)
Rating
CConsole - A class for creating console applications
Total Hit (2268)
Rating
RotatePicture - Rotate a 256-color bitmap by any angle (super-optimized version)
Total Hit (3446)
Rating
How to check Remote Registry using registry api in VB?
Total Hit (2208)
Rating
ClearTreeViewNodes - Quickly delete all the nodes in a TreeView controls
Total Hit (3213) «Code LangId=1» Private Declare Function SendMessageLong Lib "user32" Alias "SendMessageA" _ (ByVal hwnd As Long, ByVal Msg As Long, ByVal wParam As Long, _ ByVal lParam As Long) As Long Private Const WM_SETREDRAW As Long = &HB Private Const TV_FIRST As Long = &H1100 Private Const TVM_ ....Read More
Rating
GetAllPictureFiles - The list of all image files in a directory tree
Total Hit (3183) «Code LangId=1»' Returns a collection with the names of all the image ' files in a directory or a directory tree ' this includes all the image types that can be loaded into a PictureBox control ' ' NOTE: Uses the GetFiles, GetDirectories, and GetAllFiles routines Function GetAllPictureFiles( ....Read More
Rating
TimeToMinutes - Convert a time value into a number of minutes
Total Hit (2659) «Code LangId=1»' Converts a time value to a numeric value in minutes ' Example: ' MsgBox TimeToMinutes(TimeSerial(3, 5, 0)) --> 185 Function TimeToMinutes(ByVal newTime As Date) As Long TimeToMinutes = Hour(newTime) * 60 + Minute(newTime) End Function «/Code» ....Read More
Rating
NormRand - Produce random numbers with normal distribution
Total Hit (2306) «Code LangId=1»' VBA's intrinsic Rnd function returns numbers evenly ' distributed between 0 and 1. Each number in that ' interval has equal probability of being returned ' for any given function call. ' This function NormRand returns a random number between ' -infinity and +infinity distib ....Read More
Rating
Combine Default attribute with other attributes
Total Hit (3246) When building an ActiveX control, you can set a default property or method using the Procedure Attributes dialog box, after clicking on the Advanced button. However, if your default property also happens to require another special attribute - as is the case with Caption and Text properties-you're in ....Read More
Rating
Determine the optimal width for ListView columns
Total Hit (2963) Here's a simple but effective trick to ensure that the column of a ListView control is wide enough to display the entire string you're assigning to the column title or to an element. Just drop a Label on the form, set its Autosize property to True and Visible property to False. Also, ensure that the ....Read More
Rating
Get full control on the text typed in a TreeView's node
Total Hit (3697) The TreeView control exposes the AfterLabelEdit event to let the programmer validate the text entered in a Node, but there is no way to trap keys as they are typed by the user. This prevents you from discarding unwanted characters while the user types them. You can work around this problem by sub ....Read More
Rating
Detect whether a field on a form has been edited
Total Hit (1958) Many tip & trick collections report that you can learn if the contents of a text box has been modified by sending a EM_GETMODIFY message to the control. Actually, getting this information is much more simple. Just test the DataChange property: if non zero the field has been modified since the form w ....Read More
Rating
Search multiple substrings with the RegExp object
Total Hit (3720) The RegExp object in the Microsoft VBScript Regular Expression type library supports regular expression patterns containing the | (or) operator, which lets you search for multiple substrings at the same time. For example, the following piece of code lets you search for a month name in a source text: ....Read More
Rating
Simplify your code with Inc and Dec functions
Total Hit (3405) Unlike other languages - such as C and Delphi - VB lacks of the capability to increment and decrement a variable. Adding this feature, in the form of reusable Function routines, is simple: «Code LangId=1» Function Inc(Value As Variant, Optional Increment As Variant = 1) As Variant Value = V ....Read More
Rating
How to run an AVI inside a PictureBox control
Total Hit (3506) API Declarations «Code LangId=1» Const WS_CHILD = &H40000000 Private 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 Lon ....Read More
Rating
Protect the form unloading in accidently
Total Hit (1450) When you want ot protect the form unload in accidently you can use this following code. In this code, the action is When a form is prepared to unload The unload event was automatically raised. on that event there is an parameter named "Cancel" which in the data type integer. When the unload ev ....Read More
Rating
How to Subclass a Form
Total Hit (3644) «Code LangId=1»'==============inside a MODULE Option Explicit '************************************************************ 'API '************************************************************ Private Declare Function CallWindowProc Lib "user32.dll" Alias "CallWindowProcA" ( _ ByVal lpPrev ....Read More
Rating
This is a link to a different site Your First TAPI Program
Total Hit (2630) This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own. This application uses the Windows Phone Dialer utility that comes with Windows and can be found under the Accessories group. That program will act as the call manager and will handle th ....Read More
Rating
This is a link to a different site HOWTO: Use the Spreadsheet Web Component with Visual Basic
Total Hit (2233) You can add the Office Web Components to a form in Visual Basic in the same way that you add any other ActiveX control. The Spreadsheet control included with the Office Web Components is a more robust option than the DataGrid control that ships with Visual Basic. Use the spreadsheet data to display ....Read More
Rating
This is a link to a different site Determining a ListView's Visible Item Count
Total Hit (1618) This shows a quick call you can add to any ListView code to determine the number of currently-visible ListItems in the control when in Report mode. By calling SendMessage with the LVM_GETCOUNTPERPAGE message, the call returns the number of items that can be completely contained in the visible area o ....Read More
Rating
This is a link to a different site Brightness and Contrast
Total Hit (1669) This article demonstrates how to apply two of the simplest image processsing filters, brightness and contrast, to an image.
Rating
This is a link to a different site Displaying Alpha (32bit) Icons with ImageLists
Total Hit (1890) Version 6 of ComCtl32.DLL (shipped with Windows XP) supports icons with alpha channels. This article describes how you can use icons with alpha channels with the vbAccelerator Image Lists.
Rating
This is a link to a different site XML Property Bag
Total Hit (1392) This ActiveX DLL is derived from an excellent original XML PropertyBag sample by Aaron Anderson (Aaron.Anderson@mail.farmcreditbank.com). It allows you to persist and recreate your own objects directly to XML based-files using a simple interface closely related to VB's PropertyBag object. By impleme ....Read More
Rating
This is a link to a different site Using RC.EXE
Total Hit (1550) This article provides a short look at how to use the Resource Compiler (RC.EXE) to create resource files (.RES) for Visual Basic applications. Using RC.EXE directly is often better than using the wizards provided with VB5 and 6 as you have more control over including arbitrary data; in addition the ....Read More
Rating


(Page 51 of 54) 1607 Result(s) found  ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.