Category Archives: Microsoft

CurUserName

Get the current username from Windows Original Author: MAGiC MANiAC^mTo Inputs Dim sStr1$sStr1 = CurUserName() Returns ( The current username from Windows )sStr1 = “MAGiC MANiAC^mTo” Code ‘ Get the current username from Windows’ Coded By MAGiC MANiAC^mTo’ More Examples At: http://home.kabelfoon.nl/~mto/’Declare Function GetUserName Lib “advapi32.dll” Alias “GetUserNameA” _ (ByVal lpBuffer As String, nSize As Long) As LongFunction CurUserName$()Dim… Read More »

Connect, Disconnect Networks Drives ( EASILY )

Connects and Disconnects Network Drives from your System Original Author: MASTER VB PROGRAMMER API Declarations Declare Function WNetConnectionDialog Lib “mpr.dll” (ByVal hwnd As Long, ByVal dwType As Long) As LongDeclare Function WNetDisconnectDialog Lib “mpr.dll” (ByVal hwnd As Long, ByVal dwType As Long) As LongPublic Const RESOURCETYPE_DISK = &H1 Code Private Sub cmdConnect_Click()Dim x As LongIf Index = 0 Thenx… Read More »

Place a Progress Bar in a Status Bar

Places a Progress Bar in a Status Bar, with Windows Common Controls 6, without any third party OCXs or API. Original Author: xsteinberger Assumptions The progress bar must have it’s Appearance property set to 0-ccFlat and its BorderStyle set to 0-ccNone, it may be located anywhere on the form. Code Private Sub Form_Paint()Dim WidthOfBorder As SingleScaleMode = vbTwipsWidthOfBorder =… Read More »

Crypt200.dll

Text base file or string encryption/decryption. All the encryption/decryption can be call by the external program through the DLL. Original Author: Chris.C Assumptions Read the attached help file. Attachments File Uploaded Size CODE_UPLOAD33492112000.zip 9/3/2020 3:45:00 PM 22327

Guest Book CGI

Contains two CGI VB projects that implement a Basic Guest Book Also contains a short tutorialon how CGI works in VB. Unless you are familiar with CGI and VB Please read CGIinfo.docbefore you jump to the code. Original Author: Jack Rizzo Inputs See code and documentation Assumptions A basic understanding of HTML Returns See code and documentation Side Effects… Read More »

An Adventure : Break my encryption program!!!

The best encryption program I ever saw on the internet. You write text and password(ALL characters are allowed) and then you save it to an encrypted file. This is VERY GOOD protection for files and it comes with a form of (encrypted)file manager.***BONUS*** for SUPER skill programmers : I added a file called trythis.txt. Try to decrypt it!!!THIS… Read More »

The ‘Same’ Game

This is a simple, but addictive game. The object is to clear the screen of all of the blocks. You may only select blocks that have neighboring blocks of the same color. This is not an original idea. I saw the game on a B&W handheld PC, and wanted to have it in color on my ‘work’ computer.… Read More »

Net Watcher 1.5

This project of mine logs every internet connection and saves it into the access database. It is hidden when started but you can press F9 to see when it was connected/disconnected since the program was started in a listbox. Its a really good project which illustrates diffrent techniques in diffrent subjecs such as database, listbox, internet etc. Original… Read More »

LZSS Compress/Decompress

This is a standard LZSS compression/decompression engine. It is written in VB for learning purposes, and should be converted to C/C++ if it is to be used with large amounts of data. It uses a dictionary compression algorithm (like ZIP,ARJ and others) and works the best on data with a lot of repetitions. Original Author: Jesper Soderberg Inputs sCompData… Read More »