Category Archives: Microsoft

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 »

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 »

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 »

Auto Update 2000 Edition

Auto Update 2000 Edition – This is a major update to my once old Auto Update Program. This new version can use both ftp and http. And its really easy to use. All the source code is included. Original Author: Thomas Oliver Jr. Attachments File Uploaded Size CODE_UPLOAD1306812262000.zip 9/3/2020 3:45:00 PM 5459

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 »

AOL Password logger

This code goes one step further than the password viewer that I submitted… this code actually logs an AOL password to a file! Here’s how you do it: You run the code. You get someone to sign on(Guest support will be coming soon, but is not yet supported), and once they click connect, their password will be logged… Read More »

Dedect keypress

This code finds if any key pressed. This will be helpfull for example you’re programming a screensaver. But you can not get keypresses through forms because of some components which does not support this keypress event. So you must use some API’s to do this. Original Author: Huseyin Uslu API Declarations Declare Function GetAsyncKeyState Lib “user32” (ByVal vKey As… 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 »