Category Archives: Visual Basic 6 (VB6)

Display long text in tooltiptext in listbox

This code displays the text on the line the mouse is over in the tooltiptext box. This is useful for when your text string is longer than the textbox can display. Original Author: unknown Assumptions Just place a list box on a form (less than 25 lines to see thescrolling ability. More than 25 to see empty space handling)… Read More »

Locking multiple files

Program opens text file for input, reads name of files in list, then locks thosefiles. Uses form and module, also shows system tray icon. Original Author: Tim Fischer Assumptions Code is NOT FINAL, must be customized to needs.Have picture box as picture1 hidden and the picture be your system tray icon.Have timer as timer1 and set interval for time… Read More »

create a YES or NO msgbox

simply pops up an msgbox with a yes or no choice below (very simple) Original Author: sean mckeown Code dim a as integera% = msgbox(“Message box message ;-)”,10+10)if a% = 6 then ‘6 indicates a YESmsgbox “yes was choosen”elsemsgbox “no was choosen”end if

Disable the effect of Ctrl+Alt+Del and Alt+Tab

Disables the effect of Ctrl+Alt+Del and Alt-Tab. It can be used for security programs or just so the user cant exit your program or restart the computer from the keyboard. Original Author: Steve Berardi Assumptions This code accomplishes it’s task by telling Windows that a screen saver is running, therefor, ctrl+alt+del wont work. Side Effects Note that this code… Read More »

Morphex Programming Tools 3.0a

This program is a great example of how to code complicated functions in Microsoft Windows 95/98. With Morphex, you can: remove desktop icons, center forms, place forms OnTop, open Internet URLs, open/close the CD-Rom tray, disable the Key Buttons(Ctrl+Alt+Delete, Alt+Tab, and Windows Key), remove the start button, remove the taskbar, remove the taskbar icons, remove the taskbar clock,… Read More »

INI Expert – Manipulate INIFiles like never before

This code can literally do anything you wish with an INI file. Here are a list of the 21 INI functions that I created. These took me a long time to make, so please let me know what you think. A program is included that explains everything completely…from how to use the functions…to an explanation of each variable.GetKeyVal(),… Read More »

Editing – FlexGrid!!

A new FlexGrid whith editing … very cool! Original Author: Gino Lollita – Carta VBMan Attachments File Uploaded Size CODE_UPLOAD31291292000.zip 9/3/2020 3:45:00 PM 3262

Get the binary inverse of a string

This code is the equivalence of the bitwise complement C opertator (~), except this only works on strings. I got tired of not having this capability, so I wrote it =) Original Author: Ultimatum Inputs any string Returns the bitwise inverse of the string Side Effects works ONLY on strings Code Public Function BinaryInverse(ByVal szData As String)  Dim szRet As… Read More »

MouseWheel

Quick and dirty code to get MouseWheel event information without any ocx, just a few constants and lines of code… Original Author: Jean-Pierre Perriere Assumptions ‘ 1 – Create a new project‘ 2 – Add 3 PictureBox (Picture1, Picture2, Picture3)‘ 3 – Add a TextBox (Text1)‘ 4 – Paste code‘ Run‘ over PictureBox and watch cursors‘ Wheeling moves vertical… Read More »