This site contains lots of sample code for Visual Basic. The code samples cover different areas and include a class which calculates sunrise and sunset.
Site by Christian Ernst Rysgaard. SourceSafe Directory Sync, Clipboard Ramifications, Labyrinth Generator, Frontpage 2000 webbot projects with sources.
The VB and VBA users code library. Contains a VAST library of free source code. The code samples include API, SQL, ADO, ADOX, MAPI, ADO.NET, VB.NET, VB.NET Interop.