Category Archives: Visual Basic 6 (VB6)

Add nodes to a TreeView at run time.

u can contact me at haisrini@email.comAdd nodes to a TreeView at run time.(u can drag and drop the nodes with in a tree structure(it will check whether it can be dropeed there or not) Original Author: srinivas Attachments File Uploaded Size CODE_UPLOAD1276.zip 9/3/2020 3:45:00 PM 7355

A Complete screen saver + Scrolling Fading credits

This program demonstrates how to create a screen saver in Visual Basic, it also shows how to make scrolling credits that fade in and out of the screen.The Fading, Scrolling credits:-Useful for end credits for a game etc.Easy to adapt for you own programs.Only one label and one timer are required at design time.Creating your own Screen Saver:-In… Read More »

.INI read/write routines

.INI read/write routinesmfncGetFromIni– Reads from an *.INI file strFileName (full path & file name)mfncWriteIni–Writes to an *.INI file called strFileName (full path & file name)sitush@aol.com Original Author: Newsgroup Posting Returns mfncGetFromIni–The string stored in [strSectionHeader], line beginning strVariableNamemfncWriteIni–Integer indicating failure (0) or success (other) to write API Declarations Declare Function GetPrivateProfileString Lib “Kernel” (ByVallpApplicationName As String, lpKeyName As Any,… Read More »

Create database user

The following function creates a user. You can execute it under any user you like.dror-a@euronet.co.il (Dror Dotan A’) Original Author: Newsgroup Posting API Declarations const ADMIN_USERNAME = “Admin”const ADMIN_PASSWORD = “adminpass (or whatever)”const SHOWICON_STOP = 16 Code Function CreateNewUser% (ByVal username$, ByVal password$, ByVal PID$)  ‘- create a new user.  ‘- username$ – name  ‘- password$ – user password  ‘- PID$ – PID… Read More »

Secret Windows functions

This program show how use following functions in VB:arrange windows (tile, cascade); shutdown, reboot, log off windows; restart explorer; force shutdown (no prompts); show Control panels; show display, mouse, keyboard, printers and fonts control panel; change cursor blink speed; swap mouse buttons; disable mouse and/or keyboard; print test page; add new hardware; connect network drive; repaint screen; show… Read More »

Advanced Shape Generator

This program creates awesome random shapes with your given specifications. With this, you may never see the same shape twice, and every one looks great! This I could proudfully say is an awesome program — IMPRESSION IS GUARANTEED!!! Please let me know how you like it. Original Author: Feuchtersoft Assumptions Third version of an evolving function. Email me if… Read More »

ACCESS BACKUP ROUTINE

A short routine that backups the tables from an open Access databaseGeorge Kinney Original Author: Newsgroup Posting Assumptions Right now it is basic, it assumes that the tables to backup are in the local database (easily changed, just haven’t had a chance to do it.), and just exports EVERYTHING that isn’t filtered out. A number of improvements can (and… Read More »

NetworkRoutines

NetworkRoutines:DisconnectNetworkDrive, MapNetworkDrive,GetUserName,GetUNCPath,etc.proactiv@ssnet.com (Kenneth L. Rosenberg) Original Author: Newsgroup Posting API Declarations Private Declare Function WNetAddConnection Lib “mpr.dll” Alias“WNetAddConnectionA” (ByVal lpszNetPath As String, ByVal lpszPasswordAs String, ByVal lpszLocalName As String) As LongPrivate Declare Function WNetGetConnection Lib “mpr.dll” Alias“WNetGetConnectionA” (ByVal lpszLocalName As String, ByVallpszRemoteName As String, cbRemoteName As Long) As LongPrivate Declare Function WNetCancelConnection Lib “mpr.dll” Alias“WNetCancelConnectionA” (ByVal lpszName As String,… Read More »

Arvi’s QUAD-BALL A Must See!

This Is A Fully Featured Game. IF YOU PROGRAM GAMES IN VB YOU MUST SEE THIS ! The aim of the game is to save earth (it is set in the future). This GameIncludesOver 60 files, of which 25+ Contain vb-programming !!.It Aslo Includes PicClp32 (ver. 6) For The Vb5 Users, So There Should BeNo Problems Original Author: Arvinder… Read More »

A DX7 MultiPlayer Tic Tac Toe

This is an example of using DX7 DirectPlay4. Program allows you to connect and play a basic tic tac toe game over ipx, tcp/ip, or modem against another player with the same program installed. This program includes a basic chat program. All of the multiplayer code is done with directplay4. This is a multiplayer tic tac toe game… Read More »