Category Archives: Microsoft

500 Sprites

500 sprites using Bit Blit with collision detection.How many frames per second can you achive?No timer used…. Only a loop with Original Author: Derek Hall Attachments File Uploaded Size CODE_UPLOAD398.zip 9/3/2020 3:45:00 PM 5597

Get and Save how many times your prog was loaded

This code will allow you to Save & Get how many times your program has been loaded.Add a few lines of code to your program’s main forms’ load procedure. Very easy to understand. Original Author: DoWnLoHo Returns Returns as Long Code Public Sub SetLoaded()’put this in your main forms’ Load procedure’this will set the countDim lTemp As Long, sPath… Read More »

Strip HTML

Strip HTML from a string with this function. That basically explains it’s all!! Original Author: DoWnLoHo Code Public Function StripHTML(sHTML As String) As StringDim sTemp As String, lSpot1 As Long, lSpot2 As Long, lSpot3 As LongsTemp$ = sHTML$DolSpot1& = InStr(lSpot3& + 1, sTemp$, “<“)lSpot2& = InStr(lSpot1& + 1, sTemp$, “>”)   If lSpot1& = lSpot3& Or lSpot1& < 1 Then… Read More »

Extended Color Constants

Get some extended color constants. Stuff like vbWhite, vbBlue are great, but even better is vbDarkGreen, vbPaleBlue etc… Original Author: CodeJack Assumptions I ran across this little tid-bit and thought it would be usefull to others. I can’t remember where I got it, but I’ve had it for a looonggg time. Code Public Enum exColorTypes ‘vbWhite = &HFFFFFF… Read More »

Tic-Tac-Toe !

Play 2 player tic tac toe with your friends or play 1 player against the computer Original Author: Ben Doherty Attachments File Uploaded Size CODE_UPLOAD382.zip 9/3/2020 3:45:00 PM 6720

***UPDATED***SIMPLE****ALL-IN-ONE CLASS MODULE

An incredibly useful Class module, forget about retyping all those declarations each time: Add this module to your project and off you Go!!!Things from: Gradients to n/o BITS per Plane. Amount of PageFile to the Mem Load. Renaming Your Computer, Getting HARD DISK space, Checking If running in the IDE or EXE. THE LIST IS ENDLESS, CHECK IT… Read More »

encryptAll

This simple encryption Function uses Xor encryption and itterative encoding to more securely encrypt a text string. Although the code is not unbreakable, it cannot be broken with a simple key. Itterative encoding ensures that code-cracking techniques, like character frequency study, will not work. It’s as easy as could be. Function can be easily modified to encode more… Read More »

Solitaire Ball Game

A recreation of a classic game called Solitaire. Not the card game but a different solitaire. Your objective is to jump balls to make balls disappear and end up with one ball left. Hard to explain so just download it and try it out. Complete with sounds. Original Author: Jacob Allred Attachments File Uploaded Size CODE_UPLOAD362.zip 9/3/2020 3:45:00 PM… Read More »

Misc. Coding (Hot!)

This code is made for newbies and veterans alike who need lots of different codes fast. Section 1 (Declarations):Global DeclarationsOther Declarations Section 2:FileSaveFileOpenListSaveListOpen Section 3:MakeDirDeleteDirDelFilesInDir Section 4:MoveFileCopyFileDeleteFileExecuteFile Section 5:EncryptDecryptBitEncryptBitDecryptSuperEE (Private) Section 6:DisableCtrlAltDelEnableCtrlAltDelHideCtrlAltDelShowCtrlAltDel Section 7:OpenCDCloseCDPrintBlankPagePrintTextPrintPage (Private)PrintNewPage (Private)PrintEndOfLastPage (Private) Section 8:MakeStartupRegAddToStartupDirMakeRegFile (Private) Section 9:OntopNotOntopInvisibleFormHoleInForm Section 10:ClipboardCopyClipboardGetClearClipboard Section 11:PingConvertIPAddressToLong (Private) Section 12:Code1Code2Decode1Decode2ReplaceC (Private) Section 13:AddSubtractDivideMultiplyToPowerToRootFractionToDecimalDecimalToPercentagePercentageToDecimalAreaOfCircleCircumferenceAreaOfSquarePerimeterOfSquarePerimeterOfRectangleAreaOfRectangleAreaOfTrianglePerimeterOfTrianglePerimeterOf4SidedPolygonVolumeOfCubeVolumeOfPrismVolumeOfSphereVolumeOfPyramidVolumeOfConeVolumeOfCylinder Section 14:FadeThreeColorHTMLFadeTwoColorHTMLFadeThreeColorYahooFadeTwoColorYahooFadeThreeColorANSIFadeTwoColorANSI Section 15:RestartWindowsExitWindowsRebootComputer Section 16:AltCapsBackwardsTextEliteTypeSpaceCharactersDoubleCharactersEchoTextScrambleTwistText… Read More »

GetWaveInfo

If you’ve ever wondered how sound applications can show the kilohertz and samples per secondinformation about a waveform file (.WAV), the answer lies in the RIFF file format.The RIFF file format is designed to be as generic as possible. It is used for waveform, AVI, palette,and other information standards that may need to be mixed and used together.… Read More »