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

 

QuickSort - Exploiting the principle of exchanging keys
Total Hit (1485)
Rating
SetExplorerToolbarPicture - Change Explorer toolbar image
Total Hit (1220)
Rating
GetRegisteredOrganization - Retreive the name of the registered organization
Total Hit (1289)
Rating
GetBiosInfo - Retrieve information about the bios
Total Hit (1790)
Rating
GetIDESetting - Retrieve a setting for the Visual Basic IDE
Total Hit (1452)
Rating
LOG Files
Total Hit (1718) «Code LangId=1»'Just place this in a Module and you can call it from anywhere in your program! Sub SetLog(Message As String) 'This Sub writes to a LOG file. Dim theFile As String, theMessage As String theFile = App.Path & "\PRGMLOG.TXT" theMessage = Message & vbCrLf Open theFile For Append A ....Read More
Rating
ShowNetworkPrinterConnectionDialog - Connect or disconnect a printer
Total Hit (2733)
Rating
CStack - a class module for implementing Last-In-First-Out (stack) structures
Total Hit (1702)
Rating
GetTreeViewNodeHandle - The handle of any node in a TreeView
Total Hit (2317) «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 Const TVM_GETNEXTITEM = &H110A Private Const TVGN_CARET = 9 ' The handle of any node in a TreeVie ....Read More
Rating
NodeNestingLevel - The nesting level of a TreeView's node
Total Hit (1496) «Code LangId=1»' Returns the nesting level of a TreeView's Node object ' (returns zero for root nodes.) Function NodeNestingLevel(ByVal Node As Node) As Integer Do Until (Node.Parent Is Nothing) NodeNestingLevel = NodeNestingLevel + 1 Set Node = Node.Parent Loop End ....Read More
Rating
SecondsToString - Convert a number of seconds into a formatted time string
Total Hit (1690) «Code LangId=1» ' Converts a numeric value in seconds to a string ' Example: ' MsgBox SecondsToString(3920) --> 1h.5m.20s Function SecondsToString(ByVal Seconds As Long) As String SecondsToString = (Seconds \ 3600) & "h." & ((Seconds \ 60) Mod 60) & "m." _ & (Seconds Mod ....Read More
Rating
ArrLongestItem - The value and index of the longest element of an array of any type
Total Hit (1601) «Code LangId=1»' The longest item in an array of any type ' (it applies the LEN function to all the items in the array ' and then takes the highest value) ' ' FIRST and LAST indicate which portion of the array ' should be considered; they default to the first ' and last element, respectively ....Read More
Rating
RotateRight - Rotate a Long to the right
Total Hit (1223) «Code LangId=1»' Rotate a Long to the right the specified number of times ' ' NOTE: requires Power2() Function RotateRight(ByVal value As Long, ByVal times As Long) As Long Dim i As Long, signBits As Long ' no need to rotate more times than required times = times Mod 32 ....Read More
Rating
Read and write File ODBC data sources
Total Hit (3238) A file DSN is nothing but a text file that contains all the parameters for an ODBC connection. To prove this, just go to the default directory that holds all File DSNs (this is the \Program Files\Common Files\ODBC\Data Sources directory on Windows's boot drive) and load any .dsn file into a text edi ....Read More
Rating
Get the Command$ value from inside an ActiveX DLL
Total Hit (1969) At times you may need to access the command line passed to the application from within an ActiveX DLL. Unfortunately, when inside a DLL the Command$ function returns a null string, so you have to resort to some API trickery: «Code LangId=1» Private Declare Function GetCommandLine Lib "kernel32" ....Read More
Rating
Default Properties tend to hide programming mistakes
Total Hit (1747) Visual Basic lets you create a default property or method by simply selecting the "(Default)" item in the combo box that appear if you click the Advanced button in the Procedure Attributes dialog box. (You can display this dialog from the Tools menu, or by right-clicking on a property name in the ri ....Read More
Rating
Change a CheckBox or OptionButton style at runtime
Total Hit (2921) Visual Basic doesn't let you change the Style property of a CheckBox or an OptionButton control at runtime. However, you can easily do it by manipulating the control's style bit, with the SetWindowLong API function. Here's a routine that does the trick: Using the routine is straightforward. For ....Read More
Rating
The "Assume No Aliasing" compiler option
Total Hit (1696) A procedure is said to contain aliased values if it can refer to the same memory addresses in two or more distinct ways. A typical example is the following procedure: «Code LangId=1» Dim g_GlobalVariable As Long ... Sub ProcWithAliases(x As Long) x = x + 1 g_GlobalVariable = g_GlobalV ....Read More
Rating
Persistent breakpoints
Total Hit (2075) When you close a VB IDE session, VB saves the code but doesn't save the current set of breakpoints. If you need (non-conditional) breakpoints to persist among sessions, don't use the F9 key. Instead, use the following statement «Code LangId=1» Debug.Assert False «/Code» The above code will alwa ....Read More
Rating
How to format miliseconds into hour, minute and seconds using StrFromTimeInterval API
Total Hit (1718) If you're working with VB built-in date/time functions, you can use VB Format function to convert Date/Time to any format you need. But API functions often return time in milliseconds. See how to convert it in readable format: «code LangId=1»Private Declare Function StrFromTimeInterval Lib "shlw ....Read More
Rating
How to extract associated icon of a file and draw in various state (i.e enabled, disabled & dithered)
Total Hit (2403) This sample demonstrates how simple it is to draw disabled, colourised and dithered icons, image or string. This task can be accomplished by DrawState API. DrawState can draw string, image or icon in normal, disabled, colourised or dithered state. «b»Step-By-Step Example«/b» - Create a standar ....Read More
Rating
High quality image scaling
Total Hit (1960) Have you ever tried to use StretchBlt to resize image. Yep its easy to use with VB but if you use it without setting correct "Stretch Mode" it wont be a high quality image. To get high quality stretched image you can call SetStretchBltMode and set HALFTONE mode for highest quality image resizing. Fo ....Read More
Rating
WindowPicker - Pick any window using mouse and highlight window region
Total Hit (2984) In this sample code you will learn several techniques using APIs. Here is the summary «UL»«LI»Capture mouse input to the current application window using SetCapture and ReleaseCapture «LI»Obtain window handle from a point using WindowFromPoint «LI»Get window region from the window handle using Ge ....Read More
Rating
How to use AlphaBlend function to display transparent or semitransparent images ?
Total Hit (4584) In this article we will see how to use new AlphaBlend API which is only available in win 2k and later , Win 98 and later. In this example we have function called DoAlphablend and this function takes 3 arguments : source picturebox, destination picture box and AlphaVal. Alphavalue determine the trans ....Read More
Rating
How to set width of Datareport ?
Total Hit (2109) Following code will set custom width and height for VB Datareport for a specified Printer
Rating
This is a link to a different site Determining Free Disk Space on a Fat32 (or NTFS) Drive
Total Hit (1265) The routine presented here will return the correct free and used disk sizes on volumes over 2 gigabytes as supported by the FAT32 partitions implemented in Windows95 OEM Service Pack 2, aka OSR2, and in Windows 98 where the Fat32 drive conversion has been made, or on NTFS partitions on NT4, Windows ....Read More
Rating
This is a link to a different site Creating and using your own VC++ dlls
Total Hit (743) Using the Windows API is a wonderful way to speed up your applications when they need to perform processor intensive tasks like graphics manipulation. However, the Windows API doesn’t always provide all the functionality you need for your application. Perhaps some 3rd party control does what you wan ....Read More
Rating
This is a link to a different site Hue Luminance and Saturation (HLS) Model and Manipulating Colours
Total Hit (469) Normally in computers colours are described in terms of their Red, Green and Blue components. Whilst you can specify all displayable colours this way, it leaves something to be desired when it comes to picking a colour. For example, most people find it very difficult to determine what RGB values you ....Read More
Rating
This is a link to a different site SGrid 2.0
Total Hit (2297) SGrid 2.0 is an updated version of the popular SGrid control which adds drag-drop hierarchical grouping, owner-draw cells and many other features. It has the same highly-optimised display code but is now further enhanced by much better sort, row insert and delete performance. It remains a great alte ....Read More
Rating
This is a link to a different site Creating and closing a socket : Winsock API Test Bench sample application
Total Hit (2713) We continue to learn the Winsock API developing the Winsock API TestBench sample application. In this article you'll find out how to use the socket and closesocket Winsock API functions in order to create and close sockets.
Rating


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