Category Archives: Microsoft

LZW Compression for VB strings

Another implementation of LZW compression for compressing VB strings. A 4K dictionary is used as suggested by the algorithm. A binary tree search is used for speeding up dictionary search. It accepts all the 256 characters. *** version 2 (23-Aug-99): bug fixed, performance improved *** Original Author: lcwd Code ‘ Special thanks to Chris Dodge for reporting the bugOption… Read More »

Personal StartUp! As simple as it can get…

Do you use different user logins in Windows?Tired of having the same StartUp folder just because the users share the same Start Menu?Then this solves your problem! Original Author: Hyperswede Inputs How to use personal startups.1) Add the source code below to a new project.2) Make an exe file.3) Create a shortcut in your StartUp folder that points to… Read More »

***Convert TXT file to Executable EXE***

This code convert a TXT file to EXE file.When you convert the file start the EXE and the old file will be typed(like TYPE command)This is really great codeNOTE : RUN THE .EXE FROM MS-DOS MODE Original Author: Atanas Matev Assumptions Create a label, a command button and common dialog controlChange the Caption of the button to “Select a… Read More »

Word Magic

This program allows simple desktop access the the Microsoft Word spelling and thesaurus engine using OLE Automation.You can Spell Check, Produce Anangrams, use the Thesaurus and look up the meaning of words. THIS IS A COMPLETE WORKING APPLICATION Original Author: Richard Lowe Assumptions Must have Microsoft Word Installed Code ‘===========================================================================’Start a new project’add a ComboBox named cboInput’add a ListBox… Read More »

Check if File Exists – Including Hidden Files

Simple function to check if file exists. Detects Normal & Hidden files. Improvement of code from Greg G., and incorporating a suggestion by Larry Rebich. Original Author: Dan Redding – Blue Knot Software Inputs A Valid Pathname as String. Returns Boolean TRUE if file exists at path specified Side Effects Simply returns FALSE if an invalid path is encountered… Read More »

Complete Winsock File Transfer Toolkit!

To every vb coder who once wished his/her program could easily transfer files across the internet (like ICQ): your dream has come true. These 2 simple functions take care of everything!Features:Toolkit provides both sender and receiver with the option to accept or decline the file transfer.A window with progress bar shows users the transfer completion level.Either user may… Read More »

Convert Hex to Decimal (32-bit Unsigned)

Converts Hex [0 – FFFFFFFF] to Decimal [0 – 4294967295] using Currency type to avoid the sign bit. Original Author: Larry Serflaten Inputs A valid 1-8 character Hex String Returns A Currency value in the range of 0 – 4294967295 Code Function ConvertHex (H$) As CurrencyDim Tmp$Dim lo1 As Integer, lo2 As IntegerDim hi1 As Long, hi2 As LongConst… Read More »

MaceNET – A fully functional Telnet Client!!

A fully functional Telnet Program designed to give you ease of use and solve your remote access problems. Original Author: Happy Lobster Assumptions ‘‘….—‘ HERE’S WHAT TO DO ‘—-….‘| it may seem long but its worth it |‘|___________________________________|‘‘Making MaceNET for yourself, sorted by ease of use:‘‘1. > Download the VB5 project from:‘‘ http:\www.geocities.comSiliconValleyHub3944‘‘ It couldn’t be simpler than that!‘‘or‘‘2.‘‘… Read More »

Add menu items at runtime! :)

This code adds allows you to add menu item’s on your form while you are running it(runtime :)… Original Author: Erik Tyldum Assumptions ‘Goto the menu Editor!‘Add a menu, and a submenu.‘Name the submenu: ‘mnuTest’ and set its index property to ‘0’ <- Important!‘Then you click OK!:)‘Add a Command Button, named Command1… and paste my code into it, and… Read More »

Form On Top (Your Application)

This ONE LINE of code will make a form stay on top of your application. This is good to use for toolbars, search forms, and so on. This WILL NOT make the form stay on top of all running applictions, only yours. Original Author: Mr Hanna Assumptions Need Two forms, the second form being smaller then the first. Side… Read More »