Category Archives: Microsoft

Picture Commands

This includes the source code for Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, and Flipping a Picture Vertically! Very usefull if your working on your own picture editing program.Questions: mikecanejo@Hotmail.com Original Author: Mike Canejo Assumptions ‘Please follow these simple steps. DONT SKIP ANYTHING!‘1.) Make a New Project in your 32bit Visual Basic‘2.) Add a New Module(Module1.Bas) to… Read More »

SQLDate

Dates in SQl queries often cause problems, as the date must be in the ANSI format whereas dates brought back can be in a different local format. This function simply returns the date in the required format and save having to type Format(DateString, “mm/dd/yy”) every time. Original Author: James Wilson Inputs The date to be processed as type DATE.… Read More »

UUencode/decode in VB (c) 2/5/2000 by Alien3333@ya

‘==================================================================================‘ UUencode/decode in VB (c) 2/5/2000 by Alien3333@yahoo.com‘ A small utility that uuencode and decode with a easy standard M$ GUI‘‘ Well, I put this together in my 2 day vacation to celebrate Chinese New Year !‘ All codes are standard as possible, ignore some of my clumsy C-style codes =)‘ This small application show how to use… Read More »

AVI Animation in Status Bar

Purpose:Play an AVI file through the Animation Control on the Status bar. This code was inspired by James E. Toebes’ code: “Progress Meter on Status Bar”… instead of the ProgressBar control I am using the Animation Control. There were a few things I tweaked. For more AVI files you can check out http://pjs-inc.com/vb-avi Original Author: Pete Sral Attachments File… Read More »

Drop Menu for icon in System Tray

Easy Code here: Place an icon in the System Tray and have a drop menu appear when you click the icon with the right-mouse button. If you already have code with bitmaps in your menu, just add this code to your project! This code DOES WORK, just be careful and follow the tips. Then slap yourself for other… Read More »

CheckFileVersion

Retrieve the version of a file (EXE/DLL etc). This code should be paste into a module and just called via CheckFileVersion(‘Path to the Exe or DLL’). Original Author: Riaan Aspeling Inputs Path to the EXE or DLL file eg. “C:WindowsNotepad.exe” Returns A Variant containing the version of the file eg. “4.10” API Declarations Option ExplicitPrivate Declare Function GetFileVersionInfo Lib… Read More »

get Font types on computer

This code takes every font from the computer it is run on, and places it into a combo box. (not using printer.fonts but using screen.fonts) Original Author: V. B. Fool Assumptions Must have a combo box called ftype Code ”for loop adds all font types in computer to combo box  fType.Clear  ”clears combo box  For i = 0 To Screen.FontCount – 1… Read More »

Registry Backup

The purpose of this code is to back up the registry in win 9x. It copies the registry files to a directory called C:REGBACKUP (The code does not create this, you must do it manually) Original Author: Chris Timm Assumptions Should be easy enough to understand Returns Backs up registry files Attachments File Uploaded Size CODE_UPLOAD3269272000.zip 9/3/2020 3:45:00 PM… Read More »

Add Quotes

This Function Adds quotes to a filename… especially useful when sendingan arguement to a program (ie a filename) and it has spaces in it (with spacesif shows up as multiple arguements. Original Author: Digital Inputs str is the String to add quotes to. Assumptions No real “user notes” here…except it was a pain to think this one up =)… Read More »

AOL Upper

Application creates a systray icon which has a pop-up menu allowing you to minimize and restore the AOL3.0/4.0 Upload window.Good demo code for systray icon with popup menus no matter what you want to use it for. Also includes my Time Delay code. Original Author: Charles Patterson Assumptions Should compile as is. No warranties expressed or implied. Returns N/A… Read More »