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 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 (2620) «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»
Rating
Print3D - Display text with 3D effect
Total Hit (2847)
Rating
ValidateVBName - Check a variable's or procedure's name
Total Hit (1941)
Rating
UniqueWords - Extract all individual words in a string
Total Hit (1693) «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
Rating
PermuteString - Generating all possible combinations out of a string
Total Hit (1826) «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
Rating
SplitTbl - Split a string with multiple delimiters
Total Hit (1845) «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
Rating
ExplodeString - Add a filling char between a string's chars
Total Hit (2830) «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
Rating
Tips for debugging MTS components in the VB IDE
Total Hit (1548) 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
Rating
Check whether RAS is installed
Total Hit (3113) 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
Rating
Add pizazz to your apps with an animated cursor
Total Hit (3302) 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
Rating
Understanding interface marshaling
Total Hit (3586) 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
Rating
Fill a TreeView control with random data
Total Hit (2155) 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
Rating
Making a form appear as if it is disabled
Total Hit (2129) 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:
Rating
The beginning or end of previous week
Total Hit (3735) For reporting, many times you need to figure out what date last week began and ended. Use the code below to figure that out:
Rating
Convert Hexadecimal numbers
Total Hit (4048) 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
Rating
Replicate a string of any length
Total Hit (2962) 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
Rating
Create and verify digital signature to detect data tampering.
Total Hit (19128) 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
Rating
How to display choose color dialogbox with custom color added at runtime ?
Total Hit (3140) 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
Rating
Working with NT EventLog - Part 1 (Introduction, Event Source, Message Files)
Total Hit (7317) «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
Rating
How to create memory DC and bitmap using CreateCompatibleDC and CreateCompatibleBitmap API?
Total Hit (18328) 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
Rating
Handling NTFS Permissions Part-5 (handling printer permissions)
Total Hit (11029) 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
Use CopyMemory api for performance.
Total Hit (4449) 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.
Rating
How to set NTFS permission programatically using Security APIs
Total Hit (5316) 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
Rating
This is a link to a different site XL97: How to Create a GIF File from a Microsoft Excel Chart
Total Hit (3220) 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
Rating
This is a link to a different site How to Share a Folder using NetShareAdd
Total Hit (1445) 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
Rating
This is a link to a different site How to Change the ListView Header Style
Total Hit (1731) 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
Rating
This is a link to a different site Using CopyFileEx and Callbacks as a File Backup Mechanism
Total Hit (1308) 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.
Rating
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 (2230)
Rating
This is a link to a different site vbAccelerator ImageList Control and Class v2.0
Total Hit (1620) 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
Rating
This is a link to a different site Panel Selector Control
Total Hit (2446) 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
Rating


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