Category Archives: Microsoft

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 »

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 »

Disable IE Popup Windows

Disables IE popup windows by using an VB Front-end browser and redirecting the popup window to a second invisible webbrowser control. Original Author: Karl J. Sak Code Private Sub Form_Load()’ navigate to a website, I suggest www.aol.comWebBrowser1.Navigate “http://www.aol.com”End subPrivate Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)’this sets the popup window to another browser control’in which webbrowser2.visible = falseSet ppDisp… Read More »