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 


Prevents and or Allows certain characters and Numeric in text box or any control that support the KeyPress event
Total Hit (1547) «Code LangId=1»Option Explicit 'Usage: Private Sub text1_KeyPress(KeyAscii As Integer) If OnlyNumericTextInput(KeyAscii, ".") = 0 Then Beep KeyAscii = 0 End If End Sub«/Code»
Print3D - Display text with 3D effect
Total Hit (1772)
ValidateVBName - Check a variable's or procedure's name
Total Hit (1201)
UniqueWords - Extract all individual words in a string
Total Hit (1097) «Code LangId=1» ' build a list of all the individual words in a string ' ' returns a collection that contains all the unique words. ' The key for each item is the word itself ' so you can easily use the result collection to both ' enumerate the words and test whether a given word appears ' ....Read More
PermuteString - Generating all possible combinations out of a string
Total Hit (1197) «Code LangId=1»' Generates all combination possibilities out of a string Public Function PermuteString(ByVal Ztring As String, Optional Base As String = _ "") As String Dim TmpStrArray() As String, I As Long ' If there's only 1 element then If InStr(1, Ztring, " ", vbTextC ....Read More
SplitTbl - Split a string with multiple delimiters
Total Hit (1162) «Code LangId=1»' A variant of the Split function, that offers the following improvements ' You can pass a list of valid delimiters to the second argument ' (however, only single-char delimiters are accepted) ' Differently from the regular Split function, consecutive occurrences ' of del ....Read More
ExplodeString - Add a filling char between a string's chars
Total Hit (1472) «Code LangId=1»' "Explode" a string by inserting a given filling character ' between consecutive characters in the original string ' ' The source string cannot contain Chr$(0) characters Function ExplodeString(Source As String, Optional fillChar As String = " ") As _ String ExplodeSt ....Read More
Tips for debugging MTS components in the VB IDE
Total Hit (967) It was and it is still easy to debug MTS components written on Visual C++ version 5 and higher. Debugging components written on Visual Basic 5 is possible under VC IDE. Starting with version 6, Visual Basic allows to debug under its own IDE. Here are the things you should keep in mind while preparin ....Read More
Check whether RAS is installed
Total Hit (1866) When you work with RAS APIs, you should have to make sure if RAS library is installed on the system. A simple way is to verify the existence of the Rasapi32.dll file in the windows system directory; the same thing can be obtained with a call to the InternetGetConnectedState API, as the following cod ....Read More
Add pizazz to your apps with an animated cursor
Total Hit (1997) Who said you can't use an animated cursor with Visual Basic? Actually, it's so simple! You just have to load your animated cursor through LoadCursorFromFile API function, then you get the current cursor using GetCursor, and finally you can set your cursor using SetSystemCursor. This is all the code ....Read More
Understanding interface marshaling
Total Hit (2481) There is quite a lot of misunderstanding among COM newbies about what really happens when a COM interface is passed as a method parameter. As in most of the cases, VB programmers are protected from a lot of details on the COM run-time, but you do have to know such details if you want to assemble som ....Read More
Fill a TreeView control with random data
Total Hit (1404) Every now and then you need to fill a TreeView control with some random data, for example when you want to test a routine and you don't want to write a lot of code just for this secondary task. Here is a recursive routine that does the work for you: «Code LangId=1» ' MaxChildren is the max num ....Read More
Making a form appear as if it is disabled
Total Hit (1360) By changing the WS_CHILD style bit of a window, you can make it appear as if it is disabled, even if the form is fully active and functional. These are the statements you need:
The beginning or end of previous week
Total Hit (2565) For reporting, many times you need to figure out what date last week began and ended. Use the code below to figure that out:
Convert Hexadecimal numbers
Total Hit (2793) While Visual Basic offers the Hex$ function that converts a decimal value into its hexadecimal equivalent number, it seems that the inverse function is missing. Not true. Try out this one-liner: «Code LangId=1» Function HexToDec(HexValue As String) As Long HexToDec = Val("&H" & HexValue) ....Read More
Replicate a string of any length
Total Hit (1765) The String$ function can replicate only 1-char strings, so it seems that you need a loop to duplicate strings that contain 2 or more characters. However, this is a one-liner that does the trick: «Code LangId=1» Function ReplicateString(Source As String, Times As Long) As String ' build a s ....Read More
Create and verify digital signature to detect data tampering.
Total Hit (15593) In this article we will talk about digital signature and how to use it to detect any intended/unintended data tampering. Data can be tmpered in many ways it can be intentionally tmpered or it can be currupted during communication or may be some other reason. Anyways today I will show you the use of ....Read More
How to display choose color dialogbox with custom color added at runtime ?
Total Hit (1907) VB Common dialog box control does not support adding custom color programatically at runtime. You have to use ChooseColor API to get this functionality. Here is the example «b»Step-By-Step Example«/b» - Create a standard exe project - Add one commandbutton - Add the following code in form1 ....Read More
Working with NT EventLog - Part 1 (Introduction, Event Source, Message Files)
Total Hit (5414) «b»<< Previous Article«/b» | «b»«a href='CodeDetail.aspx?CodeId=3718'»Next Article >>«/a»«/b» In this series of articles you will learn everything you need to build VB class to handle EventLog. Unfortunately in VB6 there is no inbuilt functionality to get full power of EventLog. VB6 has 2 functio ....Read More
How to create memory DC and bitmap using CreateCompatibleDC and CreateCompatibleBitmap API?
Total Hit (13619) In this article you will learn how to create a DC in memory and create a bitmap for that DC with a specified height and width. To create memory bitmap you have to do the following steps «OL»«LI»CreateCompatibleDC to create the memory DC. «LI»CreateCompatibleBitmap (potential pitfall - use the Us ....Read More
Handling NTFS Permissions Part-5 (handling printer permissions)
Total Hit (8841) 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
Use CopyMemory api for performance.
Total Hit (2881) This article will demonstrate that how CopyMemory can boost the performance of for some simple operations (e.g string append.). Here we will banchmark VB Mid function vs CopyMemory Api.
How to set NTFS permission programatically using Security APIs
Total Hit (4285) Using security APIs you can set NTFS permissions in more technical term you can change ACL (Access Control List) for a user. Here for demo purpose I have created a user called "tejuwala" and I have created a folder c:\test and two files c:\test\file_a.txt and c:\file_b.txt . User tejuwala dont ha ....Read More
This is a link to a different site XL97: How to Create a GIF File from a Microsoft Excel Chart
Total Hit (2492) To programmatically create a graphics file from a Microsoft Excel chart, use the Export method. This article contains a sample Microsoft Visual Basic for Applications macro that creates a .gif file from a chart in a Microsoft Excel workbook. NOTE: If you click Save As HTML on the File menu and u ....Read More
This is a link to a different site How to Share a Folder using NetShareAdd
Total Hit (944) The NetShareAdd function shares a server or workstation resource. Only members of the Administrators or Account Operators local group, or those with Communication, Print, or Server operator group membership can successfully execute the NetShareAdd function. The Print operator can add only Printer qu ....Read More
This is a link to a different site How to Change the ListView Header Style
Total Hit (1237) Depending on the needs of your application, the standard header font of a listview may prove inadequate for your needs. Unfortunately, the listview API structures and constants do not provide a direct means to specify the font attributes of the header. But by using several standard API functions not ....Read More
This is a link to a different site Using CopyFileEx and Callbacks as a File Backup Mechanism
Total Hit (814) So that's how you do it!" This demo shows how to add a callback to the CopyFileEx API that returns the progress of a copying routine. But there is a catch ... CopyFileEx is only available on real operating systems - AKA Windows NT.
This is a link to a different site The best example of how to write to the NT eventlog. Done by VB/NT specialist L.J. Johnson. You will find his webpage on the link page. Author: L.J.Johnson
Total Hit (1454)
This is a link to a different site vbAccelerator ImageList Control and Class v2.0
Total Hit (1075) As a number of my controls require image list support (Rebar and Toolbar control, Tab Control, S-Grid, Icon Menu Control, ActiveX Popup Menu DLL, Owner Drawn ComboEx Control and the Owner Drawn Combo and List box Control), it was about time I provided an Image List control to support them, so you do ....Read More
This is a link to a different site Panel Selector Control
Total Hit (1626) This article provides a regional selection control which can be floated over other controls to provide additional options for the selected item. The demonstration then shows how to use the control in conjunction with SGrid 2.0 in hot-tracking mode to provide an interface similar to the lists in the ....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.