B-Spline

Draws a B-Spline over a PictureBox while the user inputs a series of points with the mouse.It also allows to drag the Control Points of the B-Spline to modify it Original Author: Federico Rahal Assumptions ‘Create a new project, Project1 is created by default‘Add a new module and name it modSpline‘‘Change the name of Form1 to frmSpline‘Add a PictureBox,… Read More »

rtf2html-2.1

This code recieves RTF code as output by a Rich Text Box in VB or MS Word. It outputs the equivalent in HTML. It’s in a somewhat BETA form in that it handles a number of but not all of the possible codes. If you encounter a code it doesn’t properly convert just send it to me and… Read More »

GetWindowSnapShot

This allows a VB program to capture either the screen or the program window.It has been tested under Win95 and NT4.0. It derives from a routine by Dan Appleman (VisualBasic 5.0 Programmer’s Guide to the WIN32 API, page 303) which unfortunately does not work reliably under all conditions. Dan Appleman’s exhaustive preliminary tutorial, though, is all it takes… Read More »

RevInStr

Visual Basic 6 has a new function called InStrRev, which searches a string from right to left. I found it very usefeul, so much so that a project of mine relies completely on it. When I tried to work on the project at another location on VB5 I found that the function did not exist. So, I wrote… Read More »

cReadEasyReg

A easy way to read the Registry. Most of the times I work with the registry I only want to read it, not write to it. PLEASE NOTE: This is a class module and all the code should be paste into a CLASS Module. Original Author: Riaan Aspeling API Declarations ‘ Developed by : Riaan Aspeling‘ Company : Altered… Read More »

Blinking Title Bar

Want Attention? Let the title bar of your program blink! Original Author: oXidizer API Declarations Code ‘***Add a timer (timer1) to your form… paste the code below to the global declarations!’***Set the timer interval to 250Private Declare Function FlashWindow Lib “user32” (ByVal hwnd As Long, ByVal bInvert As Long) As LongPrivate Sub Timer1_Timer()  Call FlashWindow(Form1.hwnd, True)End Sub

Disable program after 100 times used

This code will disable your program after a certain number of runs of the program. more info: worm@thepentagon.com Original Author: Worm Assumptions Put in Form_Load statement. And this code is for 32-bit programming Only! Side Effects Don’t put this code in while your testing and programming your program because it will then disable you from running your program. more… Read More »

Fractal Viewer

A simple fractal viewer.It plots the Mandelbrot Set at the desired size.All you need to do is open a blank form and paste the code in the editor. Original Author: Theo Kandiliotis Inputs none,but you can play around with some of the constants and variables on the code in order to produce different variations of the fractal. Assumptions the… Read More »

ActiveX UltraTimer Control (UPDATED) w/ SOURCE

The UltraTimer Control uses NO APIs. Just pre-set the total interval any where from 1 millisecond to about 24 days. Set the TimerMode to fire Periodic or One-Time timer events. Initial Interval is calculated in milliseconds and up to (59999ms), then combined with the Minute and Hour intervals for the total interval between calls to the control’s timer… Read More »

Disable/Enable CTRL+ALT+DEL

‘ This code disables/enabled CTRL+ALT+DEL pressing‘ To disable CTRL+ALT+DEL, call the function Disable_CTRL_ALT_DEL‘ To enabled CTRL+ALT+DEL, call the function Enable_CTRL_ALT_DEL Original Author: King Patrik the Zerg API Declarations ‘***************************************************************‘Windows API/Global Declarations for :Dissable / Enable CTRL + AL‘ T + DEL‘*************************************************************** Declare Function SystemParametersInfo Lib “user32” Alias “SystemParametersInfoA” (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any,… Read More »