Category Archives: Microsoft

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 »

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 »

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

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 »

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 »

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 »

Chat application

Create a simple chat application betweenany two computers whose IP addresses you know. The DEMO here shows how to chat with your own computer .you can substitute your own IP with that of another person’s IP and create a seperate EXE running on his computer to chat with him /herCOOL! Original Author: Vikramjit Singh API Declarations Code ‘Open a… Read More »

Move Form without a Title Bar!

This code will allow you to move your Forms without even having to have a Title Bar! So this means if you choose to make your Form’s BroderStyle 0-None, which means no TitleBar, you will still be able to move the form with this code!You can do multiple things with this code also like: Clicking on the form… 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 »

ConvertBase+

Converts a number of any base into any other base. For example, itcan convert a binary number into decimal, octal, hexadecimal, etc. andback again. This is an improvement over the previous version as it can nowhandle the ‘double’ data-type. (Very Large Numbers). It is useful forconverting DWords from the registry, etc. Original Author: Aidan Inputs 1. A Number to… Read More »