Y2K Test for VB5 and 6

This program test the Visual Basic program you are currently running. As you will see. Original Author: Preston Smith Assumptions You can adjust the dates for Jan 1st 1930, Jan 1st 2029, Jan 1st 00 and Feb 29 or 30 2000. To see if your version is compliant then you should use 1/1/00 for the year 2000, and 2/29/00… Read More »

True Always On top With API

True window always on top. Like MS toolbar.It floats over any active application is inactive but is still always on top.Allows you to switch between applications and window is still always on top!Much better than Jake McCurry’s lousy Always on top code. Original Author: Liu Yucheng Inputs Window Handle of Window to stay on top. Assumptions Nothing Returns Nothing… Read More »

Make Form always on top without API !

It automatically makes your form on top until they close or end the program and it is all API free! Original Author: Jake McCurry Code ‘set the timer’s interval to 1Private Sub Timer1_Timer()Form1.ShowForm1.SetFocusEnd Sub

Total Record Count In ADO Recordset

This simple little function just returns the total number of records in a ADO recordset. Original Author: Riaan Aspeling Inputs A ADODB.Recordset structure Returns A Long integer with the total number of records Side Effects I believe it’s not the fastest way of retrieving the information but at least it works. I’d like it if somebody can suggest a… Read More »

(Update) RC4 Stream Cipher (with file handling )

This code offers you a strong encryption with RC4. I’ve tested it a lot and it’s the right implementation of the RC4 cipher.‘You can use this code in your commercial code because it’s not patented!‘I know there is another code that deals with RC4 but my code has nothing to do with this code!‘More infos: sci.crypt Original Author: Sebastian… Read More »

Open a text file FAST!

Opens a text file much fast than a “Do While Not EOF(filenumber)” loop. Makesfile load times almost non-existant. Original Author: Timothy Pew Inputs The filename of the file to open. Assumptions The filename that you pass to the function must exist, otherwise an error will occur. Returns The text contained in the file. Side Effects I have yet to… Read More »

Get a file from a FTP server using winsock.

This function shows how to get a file from an FTP site. Original Author: Kristian Trenskow Inputs Make a form (form1) and insert two winsock controls (winsock1 and winsock2). Then insert a command button (command1) and three labels (label1, label2 and label3). Then you need to add a module (module1), and last you need a timer (timer1). That’s it.… Read More »

Space Shooter Game

Its a space shooter game, ok for all you people who can’t read the address iswww.geocities.com/baja/cliffs/8036/space.html Original Author: Theo Kandiliotis Assumptions LOOKS LIKE A LOT BUT MOST IS JUST STEP BY STEP INSTRUCTIONS:)There are files that are needed. Go to www.geocities.com/baja/cliffs/8036/ space.html to get themIts eaisier to download it but heres the code.There are a lot of objects(mostly pictures… Read More »

Make Your Own FTP Client

Make a simple FTP Client that allows you to read and write to a remote computer Original Author: Vikramjit Singh Inputs The IP address and local file name , path. Assumptions Set Project Refrences to MSINET.OCX before you run the codeOr you could set Project components and check on Microsoft Internet transfer control…then drag the MSINET control onto the… Read More »

Changing priority

This code fragment demonstrates how you can get a program to change it’s own priority.Sometimes it is necessary to change the priority of a process from the default.The example that prompted this code was a program I had to launch from a commercial scheduler always defaulted to idle priority. This caused the program to miss it’s processing deadline.… Read More »