INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Visual Basic (Microsoft) Versions 5/6 FAQ

Code Links

Links to VB Code Examples and Downloads (J to R) by Alt255
Posted: 19 Nov 00

_________________________________________________________________________________________________
Links: "Math" to "Registry"

_________________________________________________________________________________________________
If you have any useful links to contribute, email them to me. I will merge them with the other links and note your contributions. Comments regarding ways to organize this FAQ and make it easier to use are also appreciated.
(Note that links listed without a description consist of general "how to" discussions.)
FAQ Collaborators:
    Alt255
    (Your handle belongs here)

Web Sites Linked to This FAQ
    http://www.andreavb.f2s.com/
    http://blackbeltvb.com/
    http://www.vbapi.com/
    http://www.vbexplorer.com/
    http://www.vbsquare.com/
    http://www.vbworld.com/

Contents of FAQ222-287... Links to VB Code Examples and Downloads (J to R)
    Math
    Memory
    Menus
    Messages
    Miscellanous API
    Miscellaneous Functions
    MS-Office
    Multimedia
    National Language Support
    Network
    Number Systems
    Objects
    OO Development
    OOP
    Passwords
    Ports
    Processes & Threads
    Printers and Printing
    Plugins
    Random numbers
    Registry
Contents of FAQ222-288... Links to VB Code Examples and Downloads (S to Z)
    Services
    Shell
    Strings
    Synchronization
    System Information
    Time
    Timers
    Tool Help
    Users and Usage
    Visual Basic IDE
    Window Classes
    Window Procedures
    Window Properties
    Windows
    Win Help
Contents of FAQ222-283... Links to VB Code Examples and Downloads (A to E)
    Accessibility
    Add-Ins
    API Basics
    CD-ROM
    Clipboard
    COM
    Computer
    Common Dialog
    Controls
    Control Panel
    Database
    Desktop and Start Menu
    Devices
    Display
    Encryption
    Errors
Contents of FAQ222-286... Links to VB Code Examples and Downloads (F to I)
    File System
    Fonts & Text
    Handles
    HTML
    Icons
    INI Files
    Input Devices (Keyboard/Mouse/Joystick)
    Internet

Math
    API Calls
        MulDiv http://www.vbapi.com/ref/m/muldiv.html
Memory
    API Calls
        CopyMemory http://www.vbapi.com/ref/c/copymemory.html
        FillMemory http://www.vbapi.com/ref/f/fillmemory.html
        GlobalAlloc http://www.vbapi.com/ref/g/globalalloc.html
        GlobalFree http://www.vbapi.com/ref/g/globalfree.html
        GlobalLock http://www.vbapi.com/ref/g/globallock.html
        GlobalMemoryStatus http://www.vbapi.com/ref/g/globalmemorystatus.html
        GlobalMemoryStatusEx http://www.vbapi.com/ref/g/globalmemorystatusex.html
        GlobalUnlock http://www.vbapi.com/ref/g/globalunlock.html
        MoveMemory http://www.vbapi.com/ref/m/movememory.html
        ZeroMemory http://www.vbapi.com/ref/z/zeromemory.html
    Getting the free memory http://www.vb-world.net/api/tip112.html
Menus
    http://blackbeltvb.com/free/dynamenu.htm
    API Calls
        CreatePopupMenu http://www.vbapi.com/ref/c/createpopupmenu.html
        DestroyMenu http://www.vbapi.com/ref/d/destroymenu.html
        GetMenu http://www.vbapi.com/ref/g/getmenu.html
        GetMenuItemCount http://www.vbapi.com/ref/g/getmenuitemcount.html
        GetMenuItemInfo http://www.vbapi.com/ref/g/getmenuiteminfo.html
        GetSystemMenu http://www.vbapi.com/ref/g/getsystemmenu.html
        InsertMenuItem http://www.vbapi.com/ref/i/insertmenuitem.html
        SetMenuItemInfo http://www.vbapi.com/ref/s/setmenuiteminfo.html
        TrackPopupMenu http://www.vbapi.com/ref/t/trackpopupmenu.html
        TrackPopupMenuEx http://www.vbapi.com/ref/t/trackpopupmenuex.html
    Adding bitmaps http://www.vb-world.net/api/tip64.html
    Display menu status http://blackbeltvb.com/free/menustat.htm
    Popup menus
        http://blackbeltvb.com/free/coolmenu.htm
        http://blackbeltvb.com/free/systray2.htm
        http://blackbeltvb.com/free/webbmenu.htm
    Selecting items in other programs http://blackbeltvb.com/free/menusel.htm
    Getting system menu items http://blackbeltvb.com/free/menusels.htm
    Creating a toolbar http://www.vbexplorer.com/vb_feature/july2000/july2000.asp
    Dockable toolbar http://www.vbsquare.com/controls/dockablebar/
    Create Office 97 style toolbar http://www.vbworld.com/activex/tip63.html
    Subclassing http://www.vbworld.com/demos/subclassmenus/
    Show status messages http://www.vbsquare.com/controls/tip419.html
Messages
    API Calls
        SendMessage http://www.vbapi.com/ref/s/sendmessage.html
Miscellanous API
    Create a console application http://www.vbworld.com/api/console/ ;   
    Sleep http://www.vbapi.com/ref/s/sleep.html
Miscellaneous Functions
    Latitude and Longitude http://blackbeltvb.com/free/latlong.htm
MS-Office
    Access
        http://www.vbexplorer.com/library/access01.asp
        Dealing with null strings http://www.vbworld.com/databases/tip42.html
    Word
        Spell check http://www.vbworld.com/activex/tip81.html
        Creating reports http://www.vbworld.com/activex/wordreportsdemo/
    Detect and run MS-Office apps
         http://www.vb-world.net/api/tip468.html
         http://www.vbexplorer.com/office_vb.asp
Multimedia
    http://www.vbexplorer.com/library/winmm.htm
    Media Control Interface (MCI) API Calls
        mciGetErrorString http://www.vbapi.com/ref/m/mcigeterrorstring.html
        mciSendString http://www.vbapi.com/ref/m/mcisendstring.html
    Graphics
        Animation
            http://www.vbexplorer.com/gdi.asp
            Pixels http://blackbeltvb.com/free/getpixel.htm
        Basics
            http://www.vbexplorer.com/library/graphics.htm
            http://blackbeltvb.com/free/mcisamp.htm
            http://blackbeltvb.com/free/mdibackg.htm
            http://www.vbworld.com/graphics/vbgraphics/
        BitBlit http://www.vbexplorer.com/library/bitbltprimer.htm
        Bitmaps (API Calls)
            BitBlt http://www.vbapi.com/ref/b/bitblt.html
            ExtFloodFill http://www.vbapi.com/ref/e/extfloodfill.html
            GetPixel http://www.vbapi.com/ref/g/getpixel.html
            SetPixel http://www.vbapi.com/ref/s/setpixel.html
            SetPixelV http://www.vbapi.com/ref/s/setpixelv.html
            StretchBlt http://www.vbapi.com/ref/s/stretchblt.html
        Brushes (API Calls)
            CreateHatchBrush http://www.vbapi.com/ref/c/createhatchbrush.html
            CreateSolidBrush http://www.vbapi.com/ref/c/createsolidbrush.html
            GetBrushOrgEx http://www.vbapi.com/ref/g/getbrushorgex.html
            SetBrushOrgEx http://www.vbapi.com/ref/s/setbrushorgex.html
        Direct3d http://www.vbexplorer.com/vb_feature/nov2000/d3d_Index.asp
        Figures (API Calls)
            AngleArc http://www.vbapi.com/ref/a/anglearc.html
            Arc http://www.vbapi.com/ref/a/arc.html
            ArcTo http://www.vbapi.com/ref/a/arcto.html
            Chord http://www.vbapi.com/ref/c/chord.html
            Ellipse http://www.vbapi.com/ref/e/ellipse.html
            FillRect http://www.vbapi.com/ref/f/fillrect.html
            FrameRect http://www.vbapi.com/ref/f/framerect.html
            GetArcDirection http://www.vbapi.com/ref/g/getarcdirection.html
            InvertRect http://www.vbapi.com/ref/i/invertrect.html
            LineTo http://www.vbapi.com/ref/l/lineto.html
            MoveToEx http://www.vbapi.com/ref/m/movetoex.html
            Pie http://www.vbapi.com/ref/p/pie.html
            PolyBezier http://www.vbapi.com/ref/p/polybezier.html
            PolyBezierTo http://www.vbapi.com/ref/p/polybezierto.html
            Polyline http://www.vbapi.com/ref/p/polyline.html
            PolylineTo http://www.vbapi.com/ref/p/polylineto.html
            PolyPolyline http://www.vbapi.com/ref/p/polypolyline.html
            Polygon http://www.vbapi.com/ref/p/polygon.html
            PolyPolygon http://www.vbapi.com/ref/p/polypolygon.html
            Rectangle http://www.vbapi.com/ref/r/rectangle.html
            RoundRect http://www.vbapi.com/ref/r/roundrect.html
            SetArcDirection http://www.vbapi.com/ref/s/setarcdirection.html
        Painting & Drawing (API Calls)
            GetWindowRgn http://www.vbapi.com/ref/g/getwindowrgn.html
            SetWindowRgn http://www.vbapi.com/ref/s/setwindowrgn.html
        Pens (API Calls)
            CreatePen http://www.vbapi.com/ref/c/createpen.html
            CreatePenIndirect http://www.vbapi.com/ref/c/createpenindirect.html
        Rectangles (API Calls)
            CopyRect http://www.vbapi.com/ref/c/copyrect.html
            EqualRect http://www.vbapi.com/ref/e/equalrect.html
            InflateRect http://www.vbapi.com/ref/i/inflaterect.html
            IntersectRect http://www.vbapi.com/ref/i/intersectrect.html
            IsRectEmpty http://www.vbapi.com/ref/i/isrectempty.html
            OffsetRect http://www.vbapi.com/ref/o/offsetrect.html
            PtInRect http://www.vbapi.com/ref/p/ptinrect.html
            SetRect http://www.vbapi.com/ref/s/setrect.html
            SetRectEmpty http://www.vbapi.com/ref/s/setrectempty.html
            SubtractRect http://www.vbapi.com/ref/s/subtractrect.html
            UnionRect http://www.vbapi.com/ref/u/unionrect.html
        Regions (API Calls)
            CombineRgn http://www.vbapi.com/ref/c/combinergn.html
            CreateEllipticRgn http://www.vbapi.com/ref/c/createellipticrgn.html
            CreateEllipticRgnIndirect http://www.vbapi.com/ref/c/createellipticrgnindirect.html
            CreatePolygonRgn http://www.vbapi.com/ref/c/createpolygonrgn.html
            CreatePolyPolygonRgn http://www.vbapi.com/ref/c/createpolypolygonrgn.html
            CreateRectRgn http://www.vbapi.com/ref/c/createrectrgn.html
            CreateRectRgnIndirect http://www.vbapi.com/ref/c/createrectrgnindirect.html
            CreateRoundRectRgn http://www.vbapi.com/ref/c/createroundrectrgn.html
            EqualRgn http://www.vbapi.com/ref/e/equalrgn.html
            FillRgn http://www.vbapi.com/ref/f/fillrgn.html
            FrameRgn http://www.vbapi.com/ref/f/framergn.html
            GetPolyFillMode http://www.vbapi.com/ref/g/getpolyfillmode.html
            GetRgnBox http://www.vbapi.com/ref/g/getrgnbox.html
            InvertRgn http://www.vbapi.com/ref/i/invertrgn.html
            OffsetRgn http://www.vbapi.com/ref/o/offsetrgn.html
            PtInRegion http://www.vbapi.com/ref/p/ptinregion.html
            RectInRegion http://www.vbapi.com/ref/r/rectinregion.html
            SetPolyFillMode http://www.vbapi.com/ref/s/setpolyfillmode.html
        Miscellaneous
            Move image     http://blackbeltvb.com/free/picmove.htm
            Rotate Image http://blackbeltvb.com/free/picrotat.htm
        Working with regions
             http://blackbeltvb.com/free/regions.htm
            Transparent regions
                http://blackbeltvb.com/free/edgescan.htm
                http://blackbeltvb.com/free/flicker.htm
            Forms http://blackbeltvb.com/free/scrnback.htm
            Wireframes http://blackbeltvb.com/free/rotate.htm
    Sound
        Audio (API Calls)
            auxGetDevCaps http://www.vbapi.com/ref/a/auxgetdevcaps.html
            auxGetNumDevs http://www.vbapi.com/ref/a/auxgetnumdevs.html
            auxGetVolume http://www.vbapi.com/ref/a/auxgetvolume.html
            auxSetVolume http://www.vbapi.com/ref/a/auxsetvolume.html
            PlaySound http://www.vbapi.com/ref/p/playsound.html
            sndPlaySound http://www.vbapi.com/ref/s/sndplaysound.html
            waveOutGetDevCaps http://www.vbapi.com/ref/w/waveoutgetdevcaps.html
            waveOutGetNumDevs http://www.vbapi.com/ref/w/waveoutgetnumdevs.html
            waveOutGetVolume http://www.vbapi.com/ref/w/waveoutgetvolume.html
            waveOutSetVolume http://www.vbapi.com/ref/w/waveoutsetvolume.html
        Wavs
            http://www.vbexplorer.com/sound.asp
            http://blackbeltvb.com/free/sndplay.htm
            http://blackbeltvb.com/free/sndres.htm
            http://blackbeltvb.com/free/wavpitch.htm
            http://blackbeltvb.com/free/cdrecord.htm
            http://www.vbworld.com/demos/sound/
    MDI
        http://blackbeltvb.com/free/midinote.htm
    MP3
        http://www.vbworld.com/graphics/tip507.html
National Language Support
    API Calls
        GetCurrencyFormat http://www.vbapi.com/ref/g/getcurrencyformat.html
        GetDateFormat http://www.vbapi.com/ref/g/getdateformat.html
        GetNumberFormat http://www.vbapi.com/ref/g/getnumberformat.html
        GetThreadLocale http://www.vbapi.com/ref/g/getthreadlocale.html
        GetTimeFormat http://www.vbapi.com/ref/g/gettimeformat.html
        SetThreadLocale http://www.vbapi.com/ref/s/setthreadlocale.html
Network
    DialUp Network http://blackbeltvb.com/free/dun.htm
    General TCP/IP http://www.vbexplorer.com/reports.html
    Connect/Disconnect network drive http://www.andreavb.f2s.com/tip030017.html
    Mapping Network Resources http://blackbeltvb.com/free/wnet.htm
    Get Primary Domain Controller http://www.andreavb.f2s.com/tip100006.html
    Get time & date on domain http://www.andreavb.f2s.com/tip100005.html
    Load default browser http://www.andreavb.f2s.com/tip100004.html
    Control Winsock connection http://www.andreavb.f2s.com/tip100003.html
    Terminate active RAS connections http://www.andreavb.f2s.com/tip100001.html
    Winsock (API Calls)
        gethostbyaddr http://www.vbapi.com/ref/g/gethostbyaddr.html
        gethostbyname http://www.vbapi.com/ref/g/gethostbyname.html
        gethostname http://www.vbapi.com/ref/g/gethostname.html
        htonl http://www.vbapi.com/ref/h/htonl.html
        inet_addr http://www.vbapi.com/ref/i/inet_addr.html
        inet_nota http://www.vbapi.com/ref/i/inet_ntoa.html
        WSACleanup http://www.vbapi.com/ref/w/wsacleanup.html
        WSAGetLastError http://www.vbapi.com/ref/w/wsagetlasterror.html
        WSAStartup http://www.vbapi.com/ref/w/wsastartup.html
    Winsock file transfer http://www.vbworld.com/demos/winsock/
Number Systems
    Hex and Binary translations http://blackbeltvb.com/free/hexbin.htm
Objects
    Hooking focus http://blackbeltvb.com/free/hookfocs.htm
OO Development
    http://www.vbexplorer.com/wrox/sample172X.asp
OOP
    http://www.vbexplorer.com/ooptutor.asp
Passwords
    Decoding PWL files http://blackbeltvb.com/free/pwldecod.htm
    Verify windows password http://www.vbsquare.com/api/winpass-demo/
Ports
    Enumerate ports http://www.andreavb.f2s.com/tip040003.html
    Available COM ports http://www.andreavb.f2s.com/tip040001.html
Processes & Threads
    API Calls
        GetEnvironmentVariable http://www.vbapi.com/ref/g/getenvironmentvariable.html
        SetEnvironmentVariable http://www.vbapi.com/ref/s/setenvironmentvariable.html
    Active tasks
        http://www.andreavb.f2s.com/tip020014.html
        http://www.vb-world.net/api/tip147.html
    Show EXE names http://blackbeltvb.com/free/exename.htm
    Get windows handles (VB4) http://blackbeltvb.com/free/gethwnd4.htm
    Kill running app
        http://blackbeltvb.com/free/shellter.htm
        http://www.vb-world.net/api/tip2.html
    Search for a handle http://blackbeltvb.com/free/winsrch.htm
Printers and Printing
    API Calls
        ClosePrinter http://www.vbapi.com/ref/c/closeprinter.html
        EndDoc http://www.vbapi.com/ref/e/enddoc.html
        EndPage http://www.vbapi.com/ref/e/endpage.html
        EnumJobs http://www.vbapi.com/ref/e/enumjobs.html
        EnumPrinters http://www.vbapi.com/ref/e/enumprinters.html
        OpenPrinter http://www.vbapi.com/ref/o/openprinter.html
        StartDoc http://www.vbapi.com/ref/s/startdoc.html
        StartPage http://www.vbapi.com/ref/s/startpage.html
    Printing
        Forms http://blackbeltvb.com/free/prntform.htm
        Word Wrap http://blackbeltvb.com/free/wrap.htm
        Horizontal line http://www.andreavb.f2s.com/tip070011.html
        Text at position http://www.andreavb.f2s.com/tip070010.html
        Detect end of page http://www.andreavb.f2s.com/tip070009.html
        Align text
            http://www.andreavb.f2s.com/tip070008.html
            http://www.andreavb.f2s.com/tip070002.html
        Aligned Textbox    http://www.andreavb.f2s.com/tip070003.html
        Network jobs waiting http://www.andreavb.f2s.com/tip070007.html
        Text files http://www.andreavb.f2s.com/tip070006.html
        Get default printer http://www.andreavb.f2s.com/tip070005.html
        Picture box http://www.andreavb.f2s.com/tip070004.html
        Fit picture on page http://www.andreavb.f2s.com/tip070001.html
        Report in Access Database http://www.andreavb.f2s.com/tip110002.html
Plugins
    Creating plugin support http://blackbeltvb.com/free/plugins.htm
Random numbers
     http://www.vbexplorer.com/random/random_numbers_1.asp
Registry
    http://blackbeltvb.com/free/registry.htm
    http://www.andreavb.f2s.com/tip080001.html
    http://www.andreavb.f2s.com/tip080003.html
    http://www.vbworld.com/demos/registry/
    API Calls
        RegCloseKey http://www.vbapi.com/ref/r/regclosekey.html
        RegCreateKeyEx http://www.vbapi.com/ref/r/regcreatekeyex.html
        RegDeleteKey http://www.vbapi.com/ref/r/regdeletekey.html
        RegDeleteValue http://www.vbapi.com/ref/r/regdeletevalue.html
        RegEnumKeyEx http://www.vbapi.com/ref/r/regenumkeyex.html
        RegEnumValue http://www.vbapi.com/ref/r/regenumvalue.html
        RegOpenKeyEx http://www.vbapi.com/ref/r/regopenkeyex.html
        RegQueryValueEx http://www.vbapi.com/ref/r/regqueryvalueex.html
        RegSetValueEx http://www.vbapi.com/ref/r/regsetvalueex.html
    Trial version limitations http://www.andreavb.f2s.com/tip080006.html

(A to E FAQ222-283) (F to I FAQ222-286) (S to Z FAQ222-288)

Back to Visual Basic (Microsoft) Versions 5/6 FAQ Index
Back to Visual Basic (Microsoft) Versions 5/6 Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close