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

 

Undocumented Shell Path APIs (Extracting Component Parts).
Total Hit (4615) Way back when Microsoft released Internet Explorer 4.0, they bundled with it a number of upgrades to the operating system including a new DLL called SHLWAPI.DLL (Shell Lightweight Utility APIs). That DLL provided programmers with some useful path manipulation functions (amongst other things), but ob ....Read More
Rating
Dynamically Add Controls to a Form with Visual Basic 6.0
Total Hit (28471) Visual Basic 6.0 allows you to dynamically add control to a form at run- time using the new Add method of the Controls collection. This article shows how to dynamically add intrinsic and ActiveX controls. «pre»«b»Control«/b» «b»ProgID«/b» ========================================== CheckB ....Read More
Rating
How to Obtain the name of the computer...
Total Hit (3023) API Declarations «Code LangId=1» Private Declare Function GetComputerName Lib "kernel32.dll" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long «/Code» Module «Code LangId=1» Public Function ComputerName() As String Dim cn As String Dim ls As Long Di ....Read More
Rating
ClearRunHistory - Clear Windows Run history
Total Hit (1640)
Rating
GetBitmapInfo - Retrieve width, height and colors in a bitmap
Total Hit (2892)
Rating
PlayAVIPictureBox - Play an AVI file in a PictureBox
Total Hit (4376)
Rating
Right Click PopUp Menu
Total Hit (1532) «Code LangId=1»'First, create a menu using menueditor. Add all of your menu items as if you were just making 'a regular menu. Now set the VISIBLE property of the main menu item to false (see below, set 'the MNUEDIT item's VISIBLE to false). Like this: 'mnuEdit '---mnuUndo '---mnuRedo '---m ....Read More
Rating
Filter - A replacement for VB6's Filter function under VB5
Total Hit (2115) «Code LangId=1»' A replace for the Filter function under VB4 and VB5 ' ' Note that the source array is modified. For this reason ' this is declared as a Sub rather than a Function Sub Filter(arr() As String, ByVal Search As String, Optional ByVal Include As _ Boolean, Optional ByVal Comp ....Read More
Rating
PhoneNumberFromString - Convert a phone string into a number
Total Hit (1558) «Code LangId=1»' convert a telephone string into a phone number Function PhoneNumberFromString(ByVal PhoneString As String) As String Dim i As Integer Dim acode As Integer Const PhoneDigits = "22233344455566677778889999" ' prepare result in uppercase PhoneNum ....Read More
Rating
GetWordOccurrences - Number of occurrences of each word in a string
Total Hit (3421) «Code LangId=1»' Analyze a source string and return a bidimensional array that contains ' all the words the string contains and the number of occurrences of each ' ' Example of usage: ' Dim arr() as Variant ' arr = GetWordsOccurrences(txtSource.Text) ' For i = 1 To UBound(arr, 2) ....Read More
Rating
CComplexNumber - A class for dealing with complex numbers
Total Hit (2673) «Code LangId=1»Option Explicit '------------------------------------------ ' A class for dealing with complex numbers '------------------------------------------ ' The main properties Public Real As Double Public Imaginary As Double ' Initialize this complex number ' (returns Me) Fu ....Read More
Rating
RunningAsExe - Determine whether the code is running in an EXE or DLL
Total Hit (1945) «Code LangId=1»Private Declare Function GetModuleFileName Lib "kernel32" Alias _ "GetModuleFileNameA" (ByVal hModule As Long, ByVal lpFileName As String, _ ByVal nSize As Long) As Long Function RunningAsEXE() As Boolean Dim filePath As String ' get the name of the curre ....Read More
Rating
Print the WebBrowser's contents
Total Hit (2983) The WebBrowser control doesn't expose any method to directly print its contents. You can achieve this effect through the ExecWB method, by passing the OLECMDID_PRINT constant in its first argument: «Code LangId=1» ' display the Print dialog WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMP ....Read More
Rating
Don't hard-code font names and size
Total Hit (1712) Unless you have good reason to do otherwise, you should always use standard fonts in your programs, because this ensures that your application will work on every Windows system. If you want to use non-standard fonts, you should at least adopt the following guidelines: «Code LangId=1» Assign ....Read More
Rating
Write concise code: a collection of simple tips
Total Hit (2116) If you fully understand how VB and VBA work, you can often save some statements. This makes your listings more concise and more readable, and indirectly optimizes your program. Here is a short list of the many tricks you can use with this goal. You don't need to initialize a numeric variable to 0 or ....Read More
Rating
Missing Option Explicit directives
Total Hit (3234) The single statement that is most useful to avoid bugs is Option Explicit. Always use it in every module of your applications. Even better, let the Visual Basic IDE automatically add one whenever you create a new module to your project. You can do it by selecting the "Require Variable Declarations" ....Read More
Rating
Get the Number of Waiting Jobs of a specified Printer on your network
Total Hit (5290) API Declarations «Code LangId=1» Option Explicit 'Constants Definition Public Const CCHDEVICENAME = 32 Public Const CCHFORMNAME = 32 Public Const PRINTER_ACCESS_ADMINISTER = &H4 Public Const PRINTER_ACCESS_USE = &H8 'Types Definition Public Type DEVMODE dmDeviceName As String * C ....Read More
Rating
How to handle the Mouse Wheel events in your projects (improved)
Total Hit (3089) API Declarations «Code LangId=1» '==============inside a MODULE Option Explicit '************************************************************ 'API '************************************************************ Private Declare Function CallWindowProc Lib "user32.dll" Alias "CallWindowProcA" ....Read More
Rating
This is a link to a different site Common Dialog Templates - Create a WinZip Style File Add Dialog
Total Hit (1070) This sample, from Cayce Cochran (cayce@fastlane.net), demonstrates how to use a dialog template with a File Open or Save CommonDialog. It takes advantage of the CommonDialog/Direct DLL component which now (versions dated 1 November 1999 and higher) includes the relevant support for templates. ....Read More
Rating
This is a link to a different site How To Enable ODBC Connection Pooling in a Visual Basic ADO Application
Total Hit (2412) By default, ADO uses OLEDB session pooling to maintain a pool of connections to the database. In some cases, you might want to use ODBC connection pooling instead of OLEDB session pooling. This article describes what is necessary to enable ODBC connection pooling from a Visual Basic/ADO application. ....Read More
Rating
This is a link to a different site Using the GetSaveFileName Common Dialog API
Total Hit (1428) This page provides the code required for the Common Dialog GetSaveFileName API method. OPENFILENAME member descriptions, as well as commented code, are covered in the pages above. Except for the Flags and API name, the code is pretty well a duplicate of the GetOpenFileName code. ....Read More
Rating
This is a link to a different site Killing the Default Combo Box Context Menu
Total Hit (1124) For this to work we have to borrow from the combo method that deals with retrieving the handle to the edit portion of the control (see related topics above). The edit handle is stored, where it is compared to the hWnd passed by the WindowProc procedure. If the handle is that of the edit control, the ....Read More
Rating
This is a link to a different site Change the drop-down width of a Combo Box
Total Hit (1974) This tip shows you how to get and set the width of the drop down portion of a combo box. It also includes code to automatically set the drop down width based on the contents of a combo box by measuring the size of the text in each combo box item.
Rating
This is a link to a different site Detecting Mouse XButton Clicks
Total Hit (2085) Recently I discovered that my mouse had two strange buttons on the left-hand side (until then I'd thought that the mouse's case just wasn't very well put together). Turns out these are the 'X Buttons' and can be used for moving backwards and forwards in Explorer and IE. This sample demonstrates how ....Read More
Rating
This is a link to a different site Slow Grow
Total Hit (1649) This sample models diffusion-limited aggregation and demonstrates that random behaviours can lead to rather less random-looking results with hardly any constraints on the random behaviour.
Rating
This is a link to a different site vbAccelerator Scroll Buttons Control
Total Hit (1290) This control provides an implementation of an API scroll bar control which can be extended to display completely configurable buttons at either end of the scroll bar. This way you can add extra functionality like the VB code editor's Procedure/Full Module view buttons or zoom in and out buttons like ....Read More
Rating
This is a link to a different site Registering File Associations and Passing Command Line Parameters to an Existing App Instance
Total Hit (3151) Many windows applications register file associations. When you double click on an associated file, it is nice to have the flexibility to decide what happens. Without code, VB applications work like the Notepad SDI model - if you double click on a .TXT file you get a new instance. But other apps, for ....Read More
Rating
This is a link to a different site Adding Scroll Bars to Forms, PictureBoxes and User Controls
Total Hit (2428) In the Win32 API, all windows can have scroll bars. However, this feature is not exposed in any way in Visual Basic. Its not too hard to enable, though provided you can intercept WM_HSCROLL and WM_VSCROLL messages sent to the window. This project provides a small, self-contained class which extends ....Read More
Rating
This is a link to a different site Making VB Apply XP Visual Styles at Design and Debug Time
Total Hit (1410) If you want to use XP Visual Styles in a VB application, the fact that the controls don't draw using the new styles at design- or debug-time can be a problem, as your form looks different when once you've compiled. Luckily you can persuade both VB5 and VB6 IDEs to use XP Visual Styles too. ....Read More
Rating
This is a link to a different site Text At Any Angle
Total Hit (2376) VB doesn't provide you with any method to change the angle text is written out at on a Form or PictureBox. This seems to be a curious oversight of the OLE StdFont object, because it is in fact very simple to create a font with angles other than horizontal. This article shows you how to do it. The so ....Read More
Rating


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