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


SetWallPaper - Change the desktop's wallpaper
Total Hit (1464)
GetIECloseEnable - Determine wheter IE close command is enabled
Total Hit (983)
SnapMouseToWindow - Move the mouse cursor to the center of a form or control
Total Hit (2019)
GetODBCDrivers - Read the list of ODBC drivers from the registry
Total Hit (2390)
JoinQuoted - A Join variant that encloses string values in quotes
Total Hit (1056) «Code LangId=1»' Join variant that works with arrays of any type ' and that encloses string values between quotes ' ' ARR is the array whose element must be joined ' SEPARATOR is the separator char (default is comma) ' QUOTED is the character used to quote string values ' use a two-char st ....Read More
StrReverse - A replacement for the VB6's StrReverse function under VB4 and VB5
Total Hit (877) «Code LangId=1»' A replacement for the StrReverse function for VB4 and VB5 Function StrReverse(ByVal Text As String) As String Dim length As Long, index As Long length = Len(Text) StrReverse = Space$(length) For index = 1 To length Mid$(StrReverse, length + 1 - ....Read More
FormatPhoneNumber - Format a phone number
Total Hit (1713) «Code LangId=1»' Modify a phone-number to the format "XXX-XXXX" or "(XXX) XXX-XXXX". Function FormatPhoneNumber(ByVal text As String) As String Dim i As Long ' ignore empty strings If Len(text) = 0 Then Exit Function ' get rid of dashes and invalid chars For i ....Read More
LowWord - The least significant word of a Long value.
Total Hit (1539) «Code LangId=1»Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (dest As _ Any, source As Any, ByVal bytes As Long) ' Return the low word of a Long value Function LowWord(ByVal value As Long) As Integer CopyMemory LowWord, value, 2 End Function «/Code» ....Read More
Make COM objects in a COM+ application visible to clients
Total Hit (1168) What I describe for COM+, applies to MTS with some slight differences as well. Registering COM objects remotely has been quite a pain before MTS showed up (remember the VBR file?). In COM+ it's very easy to do: 1) Right click on the COM+ application and choose export Choose application proxy, ....Read More
How did Windows start?
Total Hit (1922) If you need to know how Windows was started you have just to call an API function: GetSystemMetrics. Passing the SM_CLEANBOOT constant as parameter, the function returns a Long value with this meaning: «Code LangId=1» 0 = Normal boot 1 = Fail-safe boot 2 = Fail-safe with network boot «/Code» ....Read More
Quickly copy field attributes when creating tables
Total Hit (2034) Under VB6 you can create new SQL Server and Oracle tables - but not MDB tables - without leaving the environment. You only have open the DataView window, right-click on the Tables folder of a database, and select the New Table mennu command. When working with similar tables, that is tables with m ....Read More
Test for Leap Year
Total Hit (2177) As long as you trust VB's IsDate function (and you can, trust me), here's the shorted and fastest method to check if a year is a leap year or not: «Code LangId=1» Function IsLeapYear(year As Integer) As Boolean IsLeapYear = IsDate("2/29/" & CStr(year)) End Function «/Code» Here's is anot ....Read More
Manually coerce to Long all Integer expressions that might overflow
Total Hit (1788) This is something that expert VB developers know very well, yet every know and then an otherwise perfect VB app stops with a fatal overflow error because of Integer overflow. Consider the following code: «Code LangId=1» Dim LongVariable As Long LongVariable = 256 * 256 «/Code» This raises th ....Read More
Swap strings the fast way
Total Hit (2190) Consider the usual way of swapping two strings: «Code LangId=1» Dim s1 As String, s2 As String Dim tmp As String ' initialize the strings s1 = String$(1000, "-") s2 = String$(1500, "+") ' do the swap, through a temporary variable tmp = s1 s1 = s2 s2 = tmp «/Code» If you put the abo ....Read More
Write concise code with the IIf function
Total Hit (1399) Use IIf when setting a value based upon an expression. This works only in situations where you have two choices, based upon the result of a Boolean expression. «Code LangId=1» 'long way If Var1 > Var2 Then Var3 = Var1 / Var2 Else Var3 = Var2 / Var1 End If 'this is more concise Var ....Read More
Items of ParamArray can be Missing
Total Hit (2123) When using the ParamArray keyword within a procedure, always remember that when the procedure is invoked from elsewhere in the program one of the argument might be omitted, and you should keep this into account. Here is an example of a routine that uses ParamArray: «Code LangId=1» Function Max( ....Read More
Very simple way to create transparent image using API
Total Hit (1844) If you ever need to create transparent BMP then don't worry here is an API which makes your life easy. To make this demo simple I have avoided color selection. In this demo default transparent color is first left top pixel color of source image. «b»Step-By-Step Example«/b» - Create a standard ....Read More
How to Add/Remove NT user account programatically
Total Hit (4348) This article will show you use of NetUserAdd and NetUserDel API to add/remove useraccount. 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 Windows 20 ....Read More
Split menu into multiple columns if dont fit and Auto Mouse move/click event demo
Total Hit (3603) This code is a combo of two great piece of code. From this example you will learn the following items - How to generate various mouse events using mouse_event API - How display shortcut menu created at runtime using CreatePopupMenu and TrackPopupMenu APIs - How to use MF_MENUBARBREAK flag to sp ....Read More
This is a link to a different site Obtaining Processor Information using WMI
Total Hit (906) Windows Script Host is built into Microsoft Windows 98, 2000, ME and XP. If you are running Windows 95 or NT4, you can download Windows Script Host from the Microsoft Windows Script Technologies Web site at Some information is not returned on non-NT-based system ....Read More
This is a link to a different site Centering and Customizing the ChooseColor Common Dialog
Total Hit (912) Just as the GetOpen/GetSaveFileName APIs provide for inserting a hook against the file dialog's creation, so too does the ChooseColor API.
This is a link to a different site How to Display Grid Lines in a ListView
Total Hit (895) By setting a ListView extended style bit using the API SendMessage with the message LVS_EX_GRIDLINES, the ListView columns and rows will be separated by a grey grid line.
This is a link to a different site EnumWindows and EnumChildWindows Callbacks
Total Hit (1145) Many Windows' Enum APIs provide callback data for specific tasks. This project demonstrates using both EnumWindows and EnumChildWindows APIs and their respective EnumWindowProc and EnumChildProc callbacks. The main form in the demo enumerates all top-level windows on the system populating ListView ....Read More
This is a link to a different site Changing Colours of a VB ProgressBar
Total Hit (957) Here's a quick SendMessage method to change the bar and / or backcolours of both a VB5 or VB6 progress bar, or an API-created progress bar. Note that on XP, using the 'Silver' theme, the default bar colour is grey, not the usual blue.
This is a link to a different site Variations on Mimicking the PrintScreen Function Using BitBlt
Total Hit (396) Extending the PrintScreen code to add Print Form and Print Any Window capabilities.
This is a link to a different site Add a Check Box to the Left Hand Side of a Drop-Down Combo Box
Total Hit (1201) In Microsoft's Outlook Express, there is a find window which allows you to set a date range to search in. You turn this date range on and off by clicking a check box which is embedded in the left hand side of the combo box. The text of the combo box is moved to the left to accommodate the check box. ....Read More
This is a link to a different site Change The Width of Items in a Listbox
Total Hit (1696) Normally in a VB ListBox, if a ListItem is too long to fit, it is clipped by the display. This tip demonstrates how to modify a ListBox so it displays a longer items with a horizontal scroll bar.
This is a link to a different site AVI Creation
Total Hit (1812) One thing that's always been tricky with AVIs is the lack of suitable software to create them. This article provides VB classes allowing 8-bit and 24-bit AVIs to be created, using any available Codec on the system. The demonstration project uses these classes to provide a pretty comprehensive progra ....Read More
This is a link to a different site vbAccelerator TabStrip Control
Total Hit (1361) This control provides a fully functional implementation of the ComCtl32 TabStrip control. The control implements all the latest features, including support for Owner-Draw tabs, and is entirely coded in VB
This is a link to a different site Using XML Queries and Transformations
Total Hit (1180) Professional Visual Basic 6 XML shows the VB community how to take advantage of XML technology and the available (free-to-use) implementations. The flexible and standards-based data description that XML provides can be used in a myriad of places where VB programmers are active. To learn more abo ....Read More

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