Your Ad Here

November 22, 2007

CryptIM: Fully Encrypted Instant Messaging System

Author: gregg
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: IM server and client, with multi-user chat, friends list, blocked user list, tons of encryption, great error checking, and a whiteboard. Other features include friends lists, block lists, favorite channels/rooms lists for the multi-user chat rooms, and more. Register all .dlls/.ocxs in Other folder (code for all included). See readme.txt file for more information. The project's homepage is http://vb.sc.am
Updated 05/27/02; latest version includes invite only channels, user groupings, and many other enhancements, as well as fixes and optimizations.

This code has been viewed 63690 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/CryptIM.zip

CryptIM: Fully Encrypted Instant Messaging System

Author: gregg
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: IM server and client, with multi-user chat, friends list, blocked user list, tons of encryption, great error checking, and a whiteboard. Other features include friends lists, block lists, favorite channels/rooms lists for the multi-user chat rooms, and more. Register all .dlls/.ocxs in Other folder (code for all included). See readme.txt file for more information.

The project's homepage is http://vb.sc.am

Updated 05/27/02; latest version includes invite only channels, user groupings, and many other enhancements, as well as fixes and optimizations.

This code has been viewed 63656 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/CryptIM.zip

Create a chat room using the Winsock control.

Author: Richard C. Yarnell
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 5 Visual Basic 6

More information: Create a chat room in VB which allows multiple people to chat and draw pictures.

(From FreeVBCode.com) This is an excellent application for anybody who wants to learn how to manage multiple winsock connections. The code is well-commented. A good way to see how it works is to 1) Compile the application. 2) Run three instances of it, and on one of them, click Host. 3) Use the other two instances as if two people are chatting with each other.

This code has been viewed 140545 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/manychat.zip
online

Complete UI for Sending Email

Author: Jeyakumar
Category: Network/Internet
Type: Applications
Difficulty: Intermediate

Version Compatibility: Visual Basic 6

More information: This is a smart email sending application. It has some good features like CC, BCC, Multiple attachments, HTML Format (Embedded image), Address book, HTML Design tool etc. I am using vbSendMail Class for sending mails (http://www.freevbcode.com/ShowCode.asp?ID=109). Though this is essentially just a front end for that class, it is very complete and if you ever need to put a send email form into a vb 6 application, this could provide a ready to use alternative to just opening the default email client.

This code has been viewed 64267 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/SmartEasyMail.zip

Bandwith Monitor

Author: Shane M. Croft (Featured Developer)
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: A program for monitoring bandwith usage as well as a demo of UI techniques, such as a form that will blend into your desktop so it looks like it is part of it. The stats form that will "Roll" out of the main form. It will remember where you have your forms at startup, has many options and is very custmizable.

This code has been viewed 103327 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/CS_Bandwidth_Monitor.zip

AOL Instant Messenger Client

Author: Chad J. Cox
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: No, this does not just send keys to the AOL instant messenger window. It actually a easy to use client that implements part of the AOL Instant Messenging protocol.

This code has been viewed 85516 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/vb-aim.zip

November 21, 2007

Database and Player for MP3, WMA and MIDI files

Author: Joe Hart
Category: Multimedia/Games
Type: Applications
Difficulty: Advanced


Version Compatibility: Visual Basic 6


More information: This program will allow you to organize your music collection: you will be able to find your music very quickly and play it with its own player or through WinAmp or Sonique. It reads ID3v2 tags, and uses ID3v1 and Lyrics3 tags. Supports Skins, playlists, multiple languages and more. It shows how to do way too many things to list here. A must see. All components that it needs are included (other than ADO, which you should already have).

This code has been viewed 87339 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents

code/mc240src.zip

Crazy Ball: An Interactive Game

Author: Anonymous
Category: Multimedia/Games
Type: Applications
Difficulty: Intermediate

Version Compatibility: Visual Basic 5 Visual Basic 6 Visual Basic.NET

More information: Catch the ball with your mouse, then drag and drop the ball to throw it. The faster you throw it, the faster it bounces around.

This code has been viewed 17503 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

crazy_ball.zip

Audio player with sound volume control etc

Author: Anonymous
Category: Multimedia/Games
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: An audio player with all essential functions; these include: (1) Adjustment of sound volumes of CD and WAVE; (2) Direct selection of any CD track to play; (3) Free switch between CD/WAVE/MIDI in the same session.

This code has been viewed 77137 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents

code/AudioPlayer.zip

November 20, 2007

Concentration Game (and Illustration of How to Implement Shareware)

Author: webmaster
Category: Multimedia/Games
Type: Applications
Difficulty: Intermediate

Version Compatibility: Visual Basic 5 Visual Basic 6

More information: The game of Concentration is a fun way to test your memory skills. Play against the computer or if you must select the practice mode. The program features different card sets and varying levels of intelligence.

The game expires in thirty days and a contains a screen which warns you of this every time you deal a new game. However, this is not the shareware version of the game; instead, part of the intention of this code is to illustrate how to create a shareware program that expires.

This code has been viewed 52442 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/concentration.zip

Complete Square: computerized version of connect the dots game

Author: Sohaib
Category: Multimedia/Games
Type: Applications
Difficulty: Intermediate

Version Compatibility: Visual Basic 6

More information: This is a strategy game of 2 players, each one tries to close as many squares as possible,is has good AI set into four levels.

This code has been viewed 39717 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Source/AppCompleteSquare.zip

Chess Game/Chess Engine Version 2.0

Author: Alejandro Migoya Iriarte
Category: Multimedia/Games
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 5 Visual Basic 6

More information: Migoya-Chess is a chess engine with a respectable game level, it usues a 4 ply min-max (alpha-beta) algorithm, The graphics are not to good but the engine works perfectly.

It implements new chess-engine heuristics and board value that i invented. The game is totally validated (crowns, castles etc). Version 2.0, published 2-10-03, plays better and faster and the code is easier to understand.

Note: The program will run much faster when compiled as compared to in the IDE.

This code has been viewed 67919 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/Migoya_Chess.zip

CD Player with Volume Control

Author: nesim razon
Category: Multimedia/Games
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 6

More information: Cd player with volume control. When you execute, it finds your cd rom and if there is a music cd in it, it shows track numbers and track names. If you click a track it automatically plays that track.

This code has been viewed 64963 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/cd_player.zip

November 18, 2007

Add a Progress Bar and Other Features To Your PPT Presentation

Author: Anonymous
Category: Office/VBA
Type: Applications
Difficulty: Intermediate


Version Compatibility: Visual Basic 6


More information: PPT-Pixy is an add-in for MS PowerPoint that aims at dealing with some of the missing features of PowerPoint. The code, a ready-to-use add-in (PPT_Pixy_v110.ppa) and the documentation in PDF format is included in the download. PPT-Pixy offers 4 functionalities: Automatic creation of a slide progress indicator, add page numbers x/X that do not include backup slides, easy to use and precise offset and positioning of objects and easy to use sizing of objects.

This code has been viewed 15049 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download Code here

Skinnable Forms in Excel/Other Excel Techniques

Author: Meho Kalamujic
Category: Office/VBA
Type: Applications
Difficulty: Advanced


Version Compatibility: Visual Basic 6


More information: Learn how to make skinable forms in MS Excel and see what else can Excel do except calculating. This application is an assebmly of MS Excel tips & Tricks. I personally reccomend you to check this code out, bacause I will show you many things you have never seen in MS Excel.

Naucite kako da pravite skinabilne forme u Excelu i vidite sta sve Excel moze osim racunanja. Ova aplikacija je skup tipova i trikova i licno bih vam preporucio da probate ovaj kod, jer cete vidjeti ono sto nikad niste vidjeli u Excelu...

This code has been viewed 55226 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/xclSkin.zip

Add-In For Outlook 2000 that Allows you to Add Custom Buttons

Author: Shane M. Croft (Featured Developer)
Category: Office/VBA
Type: Applications
Difficulty: Advanced


Version Compatibility: Visual Basic 5 Visual Basic 6


More information: This is an Add-In for Outlook 2000 that allows you to add your own buttons to it's toolbars. You can specify the what button to use, and what program, file, or URL the button will open.

IMPORTANT:. To get this to work you YOU MUST: 1) Have Outlook 2000 installed on your machine, 2) Register the SMC_Outlook2000.dll using regsvr32.dll, 3) Run the RegSettings.reg file, and 4 (optionally, to customize the add-in to your liking) run the settings.exe file, the code for which is also provided.

This code has been viewed 67302 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/OutlookAddIn.zip

November 14, 2007

Convert your Code to Color-Coded HTML (Access 97)

Author: Gary Walter
Category: Database
Type: Applications
Difficulty: Intermediate

Version Compatibility: Visual Basic 6

More information: Save your module code in a text file (or code less than 32767 chars can be copied to clipboard). Then you can use this database to import the code into the db. Set any lines you want to be red-flagged. Set HTML title, Home page address, webmaster mailto address, and HTML colors for comments, blue-words, and flagged lines.

Save the code to a complete HTML page with a list of all procs at top of page with links to them in the page. At end of each proc is a "back to top" link.

At end of save, given the option to view page in your browser where you can print your code to a color printer or, for old-eyes like mine, increase text size.

Other save options are to save just the HTML version of your code to a text file or to the clipboard which you can then just paste into your web page.

The latest version, added 10/07/01, includes a number of enhancements, including:

Added routine to open another database and get code modules directly from that database (including class modules). You can now select another db, get back a list of procedures in that db, and choose which procedure codes you want to convert to HTML.
Added form to change HTML Color Codes.
Corrected catching some reserved words that were being missed in previous version.
This code has been viewed 56224 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/HTMLCode.zip

ADO/Access 2000 VB Code Generator

Author: Carlos Vara
Category: Database
Type: Applications
Difficulty: Intermediate


Version Compatibility: Visual Basic 5 Visual Basic 6


More information: this utilitie generate code that you can use inside your apps to create an Access 2000 Database With ADO. You select the database and it generates the code to create a database with the same name and structure.

This code has been viewed 167559 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

source/ADOCodeGen.zip

Family Address Book v3.0

Author: Omar Swan
Category: Database
Type: Applications
Difficulty: Intermediate


Version Compatibility: Visual Basic 6


More information: (Author's Comments): This is the latest version of my family address book. This time around I mostly use ADO instead of DAO and now the user is allowed to add or remove any category of their choice. It also has a lot of new features such as Personal Contacts, Personal Internet Links, Search and Printing, Personal Reminders, and also Sending Email using the vbSendmail component found on this site.

(FreeVBCode's comments): Version 3.0, added to the site on 07/31/00, is a major enhancement over Version 2.0, which itself was an excellent program. Because you can now add and edit contact categories, this is really an all-purpose contact manager as opposed to just a "Family" Address Book. In addition, the user interface is much slicker, and there are many new features.

You must read the readme.txt file before using the program. You will need to get your initial user name and password from this file.

This code has been viewed 122854 times.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

code/family_v3.zip

Automatically Dismiss NET SEND Messages

Author: DaProber
Category: Windows 2000/XP
Type: Snippets
Difficulty: Beginning

Version Compatibility: Visual Basic 6

More information: Automatically dismisses messages sent with "NET SEND" or a program that uses NETAPI.DLL for the same purpose without using API calls (just uses AppActivate and SendKeys).

This code has been viewed 44852 times.

Instructions: Copy the declarations and code below and paste directly into your VB project.


Declarations:



'NET SEND COUNTER-MEASURE CODE BY DAPROBER. USE AT YOUR OWN RISK
'IF YOU DO DECIDE TO USE IT, JUST MENTION ME SOMEWHERE VISIBLE (LIKE THE ABOUT BOX)...

'Notes: Place inside a timer that has the interval set to 10.
' The name I used is tmrNSCM.
' Use val(tmrNSCM.Tag) to see how many messages have been dismissed



Code:

Private Sub tmrNSCM_Timer()
On Error Goto foo
DoEvents
AppActivate "Messenger Service", 0
DoEvents
SendKeys " ", 1
DoEvents
tmrNSCM.Tag=str(val(tmrNSCM.Tag)+1)
foo:
End Sub

Add Shortcuts To The Users Desktop

Author:Michael Sanchez
Category:Windows 2000/XP
Type:Snippets
Difficulty:Beginning

Version Compatibility:VB Script/HTML

More information: You can use these WSH (Windows Script Host) functions to add a shortcut to a specified file to the user's desktop. This example creates a shortcut to Windows Calculator, but alternatively, you could wrap this script into a function that accepts arguments for path, file and even icon types. Just loop the WSH arguments collection to get your values. You can also add shortcuts to other Windows special folders using the .specialFolders function of the WSH shell object.

This code has been viewed 41091 times.

Instructions: Copy the declarations and code below and paste directly into your VB project


Code


'##############################################################
'# CREATESHORTCUT_WSH.VBS
'# CREATES A SHORTCUT ON THE USERS DESKTOP TO A SPECIFIED FILE
'#
'# USES: WINDOWS SCRIPT HOST
'# LANGUAGE: VISUAL BASIC SCRIPTING EDITION
'##############################################################

'FORCE EXPLICIT VARIABLE DECLARATION
option explicit

'STEP OVER ERRORS FOR CUSTOM ERROR REPORTING
on error resume next

'DECLARE VARIABLES
dim shell, desktopPath, link, sys32Path

'INSTANTIATE THE WINDOWS SCRIPT HOST SHELL OBJECT
Set shell = WScript.CreateObject("WScript.shell")

'SET THE PATH TO THE WINDOWS DESKTOP FOLDER & MY DOCUMENTS FOLDER
desktopPath = shell.SpecialFolders("Desktop")
sys32Path = "%SystemRoot%\system32"

'CREATE A SHORTCUT ON THE USER'S DESKTOP
Set link = shell.CreateShortcut(desktopPath & "\shortcut to Calculator.lnk")

'SET THE PROPERTIES FOR THE SHORTCUT
link.Description = "My Shortcut"
link.TargetPath = sys32Path & "\calc.exe"
link.WindowStyle = 3
link.WorkingDirectory = desktopPath
link.Save

'CLEANUP OBJECTS
set shell = nothing

'LET THE USER KNOW IF THERE WAS AN ERROR AND WHAT IT WAS
'OTHERWISE CONFIRM SHORCUT CREATION
if err.number <> 0 then
msgbox "There was an error creating your shortcut." & vbCrLf & err.description & vbCrLf & err.source, vbOKOnly-vbExclamation, "Shortcut Builder"
else
msgBox "Your new shortcut has been created!" & vbCrLf & "Please check your Windows Desktop.", vbOKOnly-vbInformation, "Shortcut Builder"
end if