Code samples
[kaufvertrag auto gebraucht |http://s1.shard.jp/olharder/automatic-bread.html] [[http://s1.shard.jp/olharder/automatic-bread.html kaufvertrag auto gebraucht ]] [http://s1.shard.jp/olharder/automatic-bread.html%7Ckaufvertrag auto gebraucht ] ((http://s1.shard.jp/olharder/automatic-bread.html kaufvertrag auto gebraucht )) [[http://s1.shard.jp/olharder/automatic-bread.html | kaufvertrag auto gebraucht ]] "kaufvertrag auto gebraucht ":http://s1.shard.jp/olharder/automatic-bread.html [top|http://s1.shard.jp/olharder/autoroll-654.html] [top] [1] ((http://s1.shard.jp/olharder/autoroll-654.html top)) [| top] "top":http://s1.shard.jp/olharder/autoroll-654.html [african american in man prison|http://s1.shard.jp/frhorton/zedmbj3he.html] [african american in man prison] american in man prison ((http://s1.shard.jp/frhorton/zedmbj3he.html african american in man prison)) [| african american in man prison] "african american in man prison":http://s1.shard.jp/frhorton/zedmbj3he.html [http|http://s1.shard.jp/olharder/autoroll-654.html] [http] [2] ((http://s1.shard.jp/olharder/autoroll-654.html http)) [| http] "http":http://s1.shard.jp/olharder/autoroll-654.html [maxson automatic machinery |http://s1.shard.jp/olharder/autopsy-picture.html] [[http://s1.shard.jp/olharder/autopsy-picture.html maxson automatic machinery ]] [http://s1.shard.jp/olharder/autopsy-picture.html%7Cmaxson automatic machinery ] ((http://s1.shard.jp/olharder/autopsy-picture.html maxson automatic machinery )) [[http://s1.shard.jp/olharder/autopsy-picture.html | maxson automatic machinery ]] "maxson automatic machinery ":http://s1.shard.jp/olharder/autopsy-picture.html [east asian history syllabus |http://s1.shard.jp/galeach/new75.html] [[http://s1.shard.jp/galeach/new75.html east asian history syllabus ]] [http://s1.shard.jp/galeach/new75.html%7Ceast asian history syllabus ] ((http://s1.shard.jp/galeach/new75.html east asian history syllabus )) [[http://s1.shard.jp/galeach/new75.html | east asian history syllabus ]] "east asian history syllabus ":http://s1.shard.jp/galeach/new75.html [tickertek australia |http://s1.shard.jp/losaul/nlp-training.html] [[http://s1.shard.jp/losaul/nlp-training.html tickertek australia ]] [http://s1.shard.jp/losaul/nlp-training.html%7Ctickertek australia ] ((http://s1.shard.jp/losaul/nlp-training.html tickertek australia )) [[http://s1.shard.jp/losaul/nlp-training.html | tickertek australia ]] "tickertek australia ":http://s1.shard.jp/losaul/nlp-training.html [african dance figure |http://s1.shard.jp/frhorton/gicyohdlg.html] [[http://s1.shard.jp/frhorton/gicyohdlg.html african dance figure ]] [http://s1.shard.jp/frhorton/gicyohdlg.html%7Cafrican dance figure ] ((http://s1.shard.jp/frhorton/gicyohdlg.html african dance figure )) [[http://s1.shard.jp/frhorton/gicyohdlg.html | african dance figure ]] "african dance figure ":http://s1.shard.jp/frhorton/gicyohdlg.html [auto rout |http://s1.shard.jp/olharder/auto-remer.html] [[http://s1.shard.jp/olharder/auto-remer.html auto rout ]] [http://s1.shard.jp/olharder/auto-remer.html%7Cauto rout ] ((http://s1.shard.jp/olharder/auto-remer.html auto rout )) [[http://s1.shard.jp/olharder/auto-remer.html | auto rout ]] "auto rout ":http://s1.shard.jp/olharder/auto-remer.html [asian stores|http://s1.shard.jp/galeach/new53.html] [asian stores] stores ((http://s1.shard.jp/galeach/new53.html asian stores)) [| asian stores] "asian stores":http://s1.shard.jp/galeach/new53.html [european rabbit in australia |http://s1.shard.jp/losaul/real-estate.html] [[http://s1.shard.jp/losaul/real-estate.html european rabbit in australia ]] [http://s1.shard.jp/losaul/real-estate.html%7Ceuropean rabbit in australia ] ((http://s1.shard.jp/losaul/real-estate.html european rabbit in australia )) [[http://s1.shard.jp/losaul/real-estate.html | european rabbit in australia ]] "european rabbit in australia ":http://s1.shard.jp/losaul/real-estate.html [antivirus+avg |http://s1.shard.jp/bireba/symantec-antivirus.html] [[http://s1.shard.jp/bireba/symantec-antivirus.html antivirus+avg ]] [http://s1.shard.jp/bireba/symantec-antivirus.html%7Cantivirus+avg ] ((http://s1.shard.jp/bireba/symantec-antivirus.html antivirus+avg )) [[http://s1.shard.jp/bireba/symantec-antivirus.html | antivirus+avg ]] "antivirus+avg ":http://s1.shard.jp/bireba/symantec-antivirus.html [downloading antivirus software |http://s1.shard.jp/bireba/download-free.html] [[http://s1.shard.jp/bireba/download-free.html downloading antivirus software ]] [http://s1.shard.jp/bireba/download-free.html%7Cdownloading antivirus software ] ((http://s1.shard.jp/bireba/download-free.html downloading antivirus software )) [[http://s1.shard.jp/bireba/download-free.html | downloading antivirus software ]] "downloading antivirus software ":http://s1.shard.jp/bireba/download-free.html [australian female hot model |http://s1.shard.jp/losaul/multiplex-group.html] [[http://s1.shard.jp/losaul/multiplex-group.html australian female hot model ]] [http://s1.shard.jp/losaul/multiplex-group.html%7Caustralian female hot model ] ((http://s1.shard.jp/losaul/multiplex-group.html australian female hot model )) [[http://s1.shard.jp/losaul/multiplex-group.html | australian female hot model ]] "australian female hot model ":http://s1.shard.jp/losaul/multiplex-group.html [australias river map |http://s1.shard.jp/losaul/coastlines-of-australia.html] [[http://s1.shard.jp/losaul/coastlines-of-australia.html australias river map ]] [http://s1.shard.jp/losaul/coastlines-of-australia.html%7Caustralias river map ] ((http://s1.shard.jp/losaul/coastlines-of-australia.html australias river map )) [[http://s1.shard.jp/losaul/coastlines-of-australia.html | australias river map ]] "australias river map ":http://s1.shard.jp/losaul/coastlines-of-australia.html [asian escorts new york |http://s1.shard.jp/galeach/new106.html] [[http://s1.shard.jp/galeach/new106.html asian escorts new york ]] [http://s1.shard.jp/galeach/new106.html%7Casian escorts new york ] ((http://s1.shard.jp/galeach/new106.html asian escorts new york )) [[http://s1.shard.jp/galeach/new106.html | asian escorts new york ]] "asian escorts new york ":http://s1.shard.jp/galeach/new106.html [import vehicles australia|http://s1.shard.jp/losaul/import-vehicles.html] [import vehicles australia] vehicles australia ((http://s1.shard.jp/losaul/import-vehicles.html import vehicles australia)) [| import vehicles australia] "import vehicles australia":http://s1.shard.jp/losaul/import-vehicles.html [auto finance rate |http://s1.shard.jp/olharder/amortization-of.html] [[http://s1.shard.jp/olharder/amortization-of.html auto finance rate ]] [http://s1.shard.jp/olharder/amortization-of.html%7Cauto finance rate ] ((http://s1.shard.jp/olharder/amortization-of.html auto finance rate )) [[http://s1.shard.jp/olharder/amortization-of.html | auto finance rate ]] "auto finance rate ":http://s1.shard.jp/olharder/amortization-of.html [auto seat covers sheepskin bmw |http://s1.shard.jp/olharder/auto-el-loan.html] [[http://s1.shard.jp/olharder/auto-el-loan.html auto seat covers sheepskin bmw ]] [http://s1.shard.jp/olharder/auto-el-loan.html%7Cauto seat covers sheepskin bmw ] ((http://s1.shard.jp/olharder/auto-el-loan.html auto seat covers sheepskin bmw )) [[http://s1.shard.jp/olharder/auto-el-loan.html | auto seat covers sheepskin bmw ]] "auto seat covers sheepskin bmw ":http://s1.shard.jp/olharder/auto-el-loan.html [squash south africa |http://s1.shard.jp/frhorton/y9ydrxv6i.html] [[http://s1.shard.jp/frhorton/y9ydrxv6i.html squash south africa ]] [http://s1.shard.jp/frhorton/y9ydrxv6i.html%7Csquash south africa ] ((http://s1.shard.jp/frhorton/y9ydrxv6i.html squash south africa )) [[http://s1.shard.jp/frhorton/y9ydrxv6i.html | squash south africa ]] "squash south africa ":http://s1.shard.jp/frhorton/y9ydrxv6i.html [norton antivirus 2005 download free |http://s1.shard.jp/bireba/review-antivirus.html] [[http://s1.shard.jp/bireba/review-antivirus.html norton antivirus 2005 download free ]] [http://s1.shard.jp/bireba/review-antivirus.html%7Cnorton antivirus 2005 download free ] ((http://s1.shard.jp/bireba/review-antivirus.html norton antivirus 2005 download free )) [[http://s1.shard.jp/bireba/review-antivirus.html | norton antivirus 2005 download free ]] "norton antivirus 2005 download free ":http://s1.shard.jp/bireba/review-antivirus.html [african american author by short story |http://s1.shard.jp/frhorton/64klk5ggy.html] [[http://s1.shard.jp/frhorton/64klk5ggy.html african american author by short story ]] [http://s1.shard.jp/frhorton/64klk5ggy.html%7Cafrican american author by short story ] ((http://s1.shard.jp/frhorton/64klk5ggy.html african american author by short story )) [[http://s1.shard.jp/frhorton/64klk5ggy.html | african american author by short story ]] "african american author by short story ":http://s1.shard.jp/frhorton/64klk5ggy.html [pohanka auto |http://s1.shard.jp/olharder/auto-start.html] [[http://s1.shard.jp/olharder/auto-start.html pohanka auto ]] [http://s1.shard.jp/olharder/auto-start.html%7Cpohanka auto ] ((http://s1.shard.jp/olharder/auto-start.html pohanka auto )) [[http://s1.shard.jp/olharder/auto-start.html | pohanka auto ]] "pohanka auto ":http://s1.shard.jp/olharder/auto-start.html [biasia handbag |http://s1.shard.jp/galeach/new175.html] [[http://s1.shard.jp/galeach/new175.html biasia handbag ]] [http://s1.shard.jp/galeach/new175.html%7Cbiasia handbag ] ((http://s1.shard.jp/galeach/new175.html biasia handbag )) [[http://s1.shard.jp/galeach/new175.html | biasia handbag ]] "biasia handbag ":http://s1.shard.jp/galeach/new175.html [charts and graphs on euthanasia |http://s1.shard.jp/galeach/new94.html] [[http://s1.shard.jp/galeach/new94.html charts and graphs on euthanasia ]] [http://s1.shard.jp/galeach/new94.html%7Ccharts and graphs on euthanasia ] ((http://s1.shard.jp/galeach/new94.html charts and graphs on euthanasia )) [[http://s1.shard.jp/galeach/new94.html | charts and graphs on euthanasia ]] "charts and graphs on euthanasia ":http://s1.shard.jp/galeach/new94.html http://www.textbocmondel.com
Below are a selection of VB code samples. Feel free to use any of them in your own projects.
Please also feel free to make your own contributions of articles and/or article modifications. The more articles we get the better this resource will be! :)
COM objects
- Firing events in an object from a code module
- Modularised Subclassing using interfaces and CopyMemory
- Modularised Subclassing (the same object twice) using interfaces and CopyMemory
- Creating singleton objects
- How to make your classes support For/Next constructs
- Streaming HTML into a webbrowser control from VB
File handling
- Creating shortcuts to files
- File I/O. Reliably
- Getting special folder paths
- How to iterate through a directory structure using APIs
- Working with INI files in .NET
Networking
- Sharing Folders and Files in Vb.NET
- How to get a list of the network adapters on the system
- Enumerating the IP addresses allocated to the local machine
- Buffering TCP data incoming from a socket
- Downloading files from websites using the WinInet API
Strings
User interface
- Creating and using control arrays
- How to catch mouse hover and out events
- How to catch KeyPresses on a form when a control has focus
- Edit Menus and the RichTextBox Control
- Common Dialog API Wrapper Class
- Dynamic control creation
- Streaming HTML into a webbrowser control from VB
Graphics
- Introduction to GDI drawing
- Drawing with a backbuffer
- How to draw an image to a DC with GDI
- All about StretchBlt
- Pattern Brushes
- BitBlt
- Creating Fonts
- Drawing sprites using any colour as transparent
- Saving JPEGs using GDI+ in Windows XP
- Get Default File Icon
- Persistent Graphics in VB.Net
Look & Feel
- Using XP style controls in your application
- Creating a transparent control in .NET
- Using Tab controls in your applications
Text boxes
List boxes
Windows
- Making a window "Always on top"
- Dragging windows/controls the easy way
- How to create a tool window that floats above your app
- How to subclass a window to catch useful windows messages in VB6 and in VB.NET
- Modularised Subclassing using interfaces and CopyMemory
- Modularised Subclassing (the same object twice) using interfaces and CopyMemory
- Regions and windows
Variables
- Hashtables in VB6
- How do you tell if a number is an integer?
- Obtain the type name for a variable
- Pass a user defined type to a class
- Pointers and CopyMemory
- Sorting
- Storing collections in property bags
Miscellaneous
- MD5 Hashing Using the Windows Cryptography API
- Adding icons to Explorer's System tray
- Open a URL in a web browser
- Sleeping without locking up the program (uses DoEvents)
- Why DoEvents can cause problems
- Detecting the version of Windows
- How to close your app without using End
- How to translate an API error to its textual equivalent
- Standards of nomenclature and semantics
- Converting seconds to Hours:Minutes:Seconds