Category Archives: Microsoft

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 »

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 »

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 »

Change the Keyboard Speed and Delay

This code allows you to change the Keyboard speed (0 to 31) and delay (0 to 3).. useful in games or as an alternative to using the keyboard control panel. Original Author: Joshua Moore Assumptions In your own code use SetFastKeyboard() to change to your new speed and RestoreKeyboard() to change back to thier previous defaults. Side Effects On… Read More »

Combo_TypeAhead

Allows the VB combobox to have a type-ahead feature like the combobox in Access.If there are any matching items in the combobox list, it will automatically“fill in” the missing portions of the item and select it.This will work for multiple characters, not just the first character of the string.*** This is an expanded version of the original code… 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 »

SetTransparent

This code makes the form Tranparent but keep the OBJECTS visible.Orignally Written by Kalani COMModified by Satin Katiyar Original Author: Satin Katiyar Inputs Refrence to form & a array containing the objects to be kept Visible Assumptions User Must Know how to pass objects.The Example of use is as give below:Here We are assuming a command button having name… Read More »

Split any file into smaller files

This code will read any large file and split it into smaller chuncks so you can copy to stiffy,e-mail or ftp it. This code is for you out there playing with file management etc. This code is very basic but it does some cool things. It will leave the source file and will create a bunch of smaller… Read More »

* Make Your Own *WAV* Player! *

This is the code to *PLAY*, *STOP*, and *LOOP* WAV files. Its really easy! even for a beginner! You can make your own WAV Player! Original Author: Matt Evans API Declarations Declare Function sndPlaySound Lib “winmm.dll” Alias “sndPlaySoundA” (ByVal lpszSoundName As String, ByVal uFlags As Long) As Public Const SND_SYNC = &H0Public Const SND_ASYNC = &H1Public Const SND_NODEFAULT =… Read More »

* Ultimate Window Handler! *

This is the ultimate window handler. This can*Hide a window**Show a window**Minimize Window**Maximize Window**Close Window* Original Author: Matt Evans API Declarations Declare Function SendMessageByString Lib “user32” Alias “SendMessageA” (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As LongDeclare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal hwnd As Long, ByVal wMsg As… Read More »