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

 

StringFromBSTR - Convert a BSTR to a VB string
Total Hit (2935)
Rating
GetProcessModules - The list of DLLs and OCXes a process uses
Total Hit (2525)
Rating
CopyURLToFile - Download a file from the Internet via FTP or HTTP
Total Hit (3408)
Rating
GetInsertKey - Get the current state of the Insert key
Total Hit (2069)
Rating
CheckFont - Test whether a font is installed
Total Hit (1694)
Rating
CQueue - a class module to implement First-In-First-Out (queue) structures
Total Hit (1842)
Rating
ArraySum - The sum of all the items in an array of any type
Total Hit (1625) «Code LangId=1» ' Return the sum of the values in an array of any type ' (for string arrays, it concatenates all its elements) ' ' FIRST and LAST indicate which portion of the array ' should be considered; they default to the first ' and last element, respectively Function ArraySum(arr As ....Read More
Rating
ReplicateString - Replicate a string a given number of times
Total Hit (1518) «Code LangId=1»' Replicate a string a given number of times Function ReplicateString(Source As String, Times As Long) As String Dim length As Long, index As Long ' Create the result buffer length = Len(Source) ReplicateString = Space$(length * Times) ' do the multiple co ....Read More
Rating
InstrTblRev - The last occurrence of a char in a table
Total Hit (1218) «Code LangId=1»' If INCLUDE is True or is omitted, return the last occurrence of a character ' in a group ' or zero if SOURCE doesn't contain any character among those listed in TABLE. ' If INCLUDE is False, return the last occurrence of the character in SOURCE ' that does not appear in TABLE. ....Read More
Rating
Display the "Shut down Windows" dialog
Total Hit (1942) To programmatically display the "Shut down Windows" standard dialog box you can use the SHShutDownDialog undocumented API function, whose declaration is: «Code LangId=1» Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal lType As _ Long) As Long Its only argument can be ....Read More
Rating
Track changes in system time and display resolution
Total Hit (2279) Whenever the system time or the display resolution changes, Windows sends all the top-level windows (forms, in VB jargon) the WM_TIMECHANGE or WM_DISPLAYCHANGE message, respectively. Therefore, you can easily determine when these system-wide settings change by subclassing any form in your applicatio ....Read More
Rating
Getting a pixel color
Total Hit (2563) The Point method returns the color value of a given pixel, but is rather slow because it has to convert its argument from twips (or whatever ScaleMode is currently active) to pixels, and also because its argument are treated as Single quantities, and must therefore converted. When you have to retrie ....Read More
Rating
A better beep
Total Hit (2614) If you aren't satisfied with the standard Beep command (who is?) you can use the Beep API function instead, that lets you control both the frequency (in Hertz) and the duration (in milliseconds) of the beep. Note that you need an aliased Declare to avoid a name conflict with the VB command: «Code ....Read More
Rating
Quickly find which OptionButton is selected
Total Hit (956) Often OptionButton controls are arranged in control arrays. To quickly find the index of the only selected OptionButton control you can use the following code: «Code LangId=1» ' assumes that the control array contains three OptionButton controls intSelected = Option(0).Value * 0 - Option(1).Va ....Read More
Rating
Show a custom caret
Total Hit (1736) VB gives you no control on the size of the text caret. At times it can be necessary to change its size, however, for example when you want to signal that the TextBox is in overwrite mode. Here's a routine that does the trick: «Code LangId=1» Private Declare Function GetFocus Lib "user32" () As ....Read More
Rating
Search a file in a directory tree using the Imagehlp DLL
Total Hit (2235) You can search a file in all the subdirectories of a given drive in VB using a recursive routine based on the Dir$ function, the FileSystemObject component, or the FindFirstFile/FindNextFile API functions. There is a fourth way you might want to try out, based on the SearchTreeForFile function embed ....Read More
Rating
Quickly initialize Variant and String arrays
Total Hit (2366) Visual Basic doesn't provide any way to declare an array and initialize its elements at the same time. In most cases you end up with setting individual elements one by one, as in: «Code LangId=1» Dim strArray(0 To 3) As String strArray(0) = "Spring" strArray(1) = "Summer" strArray(2) = "Fall" ....Read More
Rating
Avoid append operations with the Replace function
Total Hit (1592) I find the Replace function very useful when I want to avoid too many append operations just to insert non-printable characters. For example, the following statement: «Code LangId=1» MsgBox "Disk not ready." & vbCr & vbCr & _ "Please check that the diskette is in the drive" & vbCr & _ ....Read More
Rating
How to start/stop and enum services using ADSI
Total Hit (3272) This article will show you sample code to use ADSI to manage services. «b»Step-By-Step Example«/b» - Create a new standard exe project - Add reference to "Active Ds Type Library" (Project->Add Reference) - Add windows common control 6.0 (Project->Controls) - Add one listview, five command b ....Read More
Rating
Appending One File to Another File
Total Hit (2777) The following example demonstrates opening and closing files, reading and writing files, and locking and unlocking files. The application appends one file to the end of another file. The application opens the file having the new data appended with permissions that allow only this application to writ ....Read More
Rating
Create your own cursor at runtime
Total Hit (2419) Sometimes you might need to create your own cursor at runtime without using any image or resource. You can achive this functionality using CreateCursor API. Here is the basic guidelines for creating your own cursor. When you call CreateCursor you have to pass Application handle, Cursor Width, Curso ....Read More
Rating
This is a link to a different site Determining if a Floppy Drive is Ready
Total Hit (714) Visual Basic provides a few ways to test for the readiness of a removable drive both with intrinsic methods and with the assistance of the API. Each method has its advantages. Most developers are familiar with the first method around since VB1 - performing a simple Dir() against the drive, trappin ....Read More
Rating
This is a link to a different site ListView Demo 2 - Populating the ListView
Total Hit (934) This page details the code required to populate the listview control with files matching the selected file spec using the APIs FindFirstFile, FindNextFile and the WIN32_FIND_DATA type. When the demo is completed, the final app will retrieve the users selection and populate the listview with selec ....Read More
Rating
This is a link to a different site Using the Browse For Folders Dialog to Obtain Network Machines or Shares
Total Hit (560) How to return a share or remote computer using the familiar Browse dialog.
Rating
This is a link to a different site Moving, Clicking and Tracking the MousePointer in Code
Total Hit (1950) VB doesn't provide any way to determine where the mouse is regardless of which control its over. Neither does it allow you to move the cursor or emulate mouse clicks on objects. This tip provides a simple class which uses API functions to add this functionality. ....Read More
Rating
This is a link to a different site How to Shutdown the System in Windows 9x and NT
Total Hit (1814) This tip demonstrates how to shutdown, logoff and/or reboot a system. Shutting down a Windows 9x system is very straightforward - just one API call to ExitWindowsEx is all that is required. However, under NT it is a little more tricky. By default, no application processes under Windows NT have the p ....Read More
Rating
This is a link to a different site Colourisation
Total Hit (1040) Image colourisation is a widely-used technique in image processing which can be used to create sepia-toned effects as well as adjusting images so they can be used as watermarks and in the creation of layered background images. This article demonstrates how to use the Hue, Luminance and Saturation mo ....Read More
Rating
This is a link to a different site Media Progress Bar Renderer
Total Hit (1141) Windows Media Player has a neat progress bar showing how its getting on whilst burning files to CD or other long operations. This article presents a reusable class which draws a progress bar in a similar presentation. The resulting bar can be drawn to anything that exposes an hDC, and therefore can ....Read More
Rating
This is a link to a different site PopupMenu DLL - Create Unlimited Popup Menus
Total Hit (1495) The PopupMenu (cNewMenu.dll) ActiveX DLL is allows you to create completely new popup menus with icons for your application. Menus created using this control either can be used as normal Windows Context menus or can be attached to a vbAccelerator CoolMenu and ToolBar control to be used as a form men ....Read More
Rating
This is a link to a different site How to use WinInet FTPCommand function from Visual Basic
Total Hit (2716) This article includes some background information on the Microsoft Win32 Internet Application Programming Interface (WinInet for short) and the File Transfer Protocol (FTP) and then moves into the use of FTPCommand function.
Rating


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