Category Archives: Visual Basic 6 (VB6)

Ping, Resolve Host by IP and Resolve Hostname

This code will allow you to Ping a server based on ipaddress or hostname. You can also cross-reference ip to hostname or vice-versa. Makes use of the wsock32 and Icmp dlls. Calls gethostbyname, gethostbyaddr and IcmpSendEcho functions. Please Vote! Original Author: Paul Mather Attachments File Uploaded Size CODE_UPLOAD47954142000.zip 9/3/2020 3:45:00 PM 7177

Add Wav Files To Your App.

Add Wav Files To Your App. This sample is in .zip formatYou need a versio of Winzip to open it. You can download it @winzip.com Original Author: Mike-Ejeet 9t9 Attachments File Uploaded Size CODE_UPLOAD236312161999.zip 9/3/2020 3:45:00 PM 1438

Set Icons for any Form or Program

With this code you can place any Icon in the title bar of any Window, just by reffering to a .ico file or to the position of the Icon in a DLL. Original Author: J. van Gils Inputs Handle of the window you want to change the icon of. Assumptions You need to have the Window Handle (hWnd) of… Read More »

Form bouncing against the Start Menu at exit! 2.0

This code is a must have! It’s cooler than the “Cool Form Close” code , cooler than the “Implode and Explode” code! So what does it do? When you close you program a really cool effect will appear. Your form will shrink so just the Titlebar is being showned, then the titlebar accelerates and bounces againt the start… Read More »

Dictionary, or Anything Else to store stuff

you enter a word, or whatever else you want and it brings up a definition, or something else.Note: Saves into the registry key: HKEY_Current_UserSoftwareVB and VBA Program Setting whatever you set the path to Original Author: Tyler Robbins Assumptions create 4 textboxes name them:AddName, AddDefine, definition, Wordcreate 1 label, label3 (make its caption blank)make 2 command buttonsname them:LookUp, AddWord… Read More »

Net-Messenger

This cool little program allows you to send message boxes to a remote computer over a network or the internet. You can change the message type (i.e. exclamation, question, information), the buttons that will be displayed (i.e. OkOnly, YesNo, AbortRetryIgnore). And finally, the result of the button that the remote computer clicks will be sent back to you,… Read More »

Visual Basic Screen Saver Tutorial

Visual Basic Screen Saver walks you through the process of building a screen saver in VB as well as explaining why. From setting up the project to knowing what parameters are passed to a screensaver at run time. Includes the tutorial in windows .hlp format as well as complete screensaver source code. Original Author: Quixotix Software Assumptions This is… Read More »

a simple DataBase Search project for Newbies

This sample project will show you how to easily structure a query to a DataBase.The sample uses the NWND.MDB that ship by default with VB5 and 6 and demonstrates on a searchform how to search on a text from a textBox and use the different comparison operators like =,>,LIKE, etc.NOTE: This is for total newbies that have a… Read More »

Slot Poker

Basically, it uses a random number generator to display 3 different cards in the form window. The name says it all “SlotPoker”… I have not programmed any bells or whistles, you can do that if you wish. Original Author: Scott Rosetta Inputs NONE! Assumptions Nothing. This is really simple stuff. Returns A little enjoyment. Maybe! Side Effects NONE! Attachments… Read More »

FTP Server using the Winsock control

This is a simple FTP server I developed using the Winsock control. Its got a few bugs in it that need to be solved as well as some missing features. But I think you will find this useful. It is more complete than any other FTP servers posted here. Its got plenty of comments so I hope it… Read More »