Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

2002ASP #2782
Common Dialog Template

Common Dialog Template. This small project explores the use of the Show methods of the Common Dialog. Want to know if the user entered an unexpected extention? Want the dialog to return a file name that does or does not exist? I have included most of the constants and properties associated with each method; not so much to show how they are use, but as a reminder of what is there. Try different things and see what happens. The open and save methods seem to have the most options and therefore the most complexity. So have fun and see if this works with that....

2002ASP #2784
Get a Temp File Name

Need to create a temporary file for whatever? Include this bas module in your project and with one line of code the file will be created and the name returned to your program. Sample project included.

2002ASP #2787
FileSystem module

BAS Module that handle several FileSystemObject methods using Windows API calls. Several new functions were added. This module will make file/folders operations a breeze.

2002ASP #2817
Advanced High-Speed Sectional CRC32 Wrapping protection for your Exe of any size

Calculates a unique CRC32 hash based on strings from important sections of your exe (as opposed to the entire exe, including non-critical things such as images, sound etc). This means you can protect exe's of virtually ANY size using CRC32. If you choose your sections carefully enough, the protection can be just about as good as if you had protected every byte in the file. Please vote for this if you think it's worthy of one :-)

2002ASP #2819
Recursive Deltree Sub

Deletes a specified directory tree.

2002ASP #2827
Create Shortcuts (Links to other Files/Folders)

When i started to program, i REALLY wanted to know how to make shortcuts to files and folders... With the use of vb5stkit.dll its pretty easy. To make it really simple to use, i have put all the code into a module. If you don't have the dll, I have included the dll in the zip as "Vb5stkit.renametoDLL" so make sure you rename it and put it in your system directory! Hope this is very usefull for you all.

2002ASP #2842
Full comented Trainer - Please Vote!

Well I have searched PSC in search on how to make a trainer, but none of them where comented enough, to tell how to do it. So I made this so you can learn from it. It is easy basic trainer making code. But I am working on a SD3 one but it is going to be awhile before it is done. Since it has Virtualy everything changable to be changed. The Tenchi Muyo RPG is to be used when in battle.

2002ASP #2918
Listbox Tricks

This code can, check for duplicates in a listbox, and remove them, it can sort a listbox (although my way is very hard to explain), it can shuffle the items in a listbox, and it can remove any item with a certain designated name from anywhere in the listbox, it's pretty cool, check it out!!!

2002ASP #2926
Date Faker and Evaluation Period Bypass

Launch Date Faker and it will change the date (to a previous one if you want), launch an application, then change the date back to the current date. This can help delay evaluation periods for that stuborn piece of software that you haven't used for the last 2 months which says that the evaluation period is up even though has been pretty much unused. This is not a crack, it doesn't alter any files, and it isn't intended to be used in a malicious manner, but it can (and most likely will) help prolong your software evaluation period. Small, easy to understand file input/output code and date manipulation. Please rate and leave comments.

2002ASP #2931
Read/Write Files with VBScript

Read and write textfiles with VBScript.

2002ASP #2935
Voice activation of programs

Allows voice activation of programs. Programs and words recognised (dictionary) are customisable. Click on "Add Word" to add a word to the dictionary. See CommandButton tooltips for help. Notes: It uses Microsoft Agent's Speech Recognition Engine 4.0 (included in installation). Need a working microphone, use preferably in a quiet room.

2002ASP #2947
Cheating the Printer

Why mess around with the printer object if you don't have to? In my example, I print the contents of a richtextbox control to the printer with only a couple of lines of code. PERFECTLY formatted. Readily applies to just about any control or string, though.

2002ASP #2967
Relative Path Function <BR><SMALL>Gets the relative path of a file w.r.t. a directory</SMALL>

A reusable function that computes the relative path of a file with respect to a given directory Examples will make the point clear, so here goes: GetRelativePath ("C:\VB\", "C:\VB\File.ext") returns "File.ext" GetRelativePath ("C:\VB\", "C:\VB\Program\File.ext") returns "Program\File.ext" GetRelativePath ("C:\VB\", "C:\File.ext") returns "..\File.ext" It is useful to insert images and hyperlinks into webpages, given the filenames of the images and the HTML file.

2002ASP #2974
Console Class

DOS Console class. Allowing an application to write output to a DOS console and optional log file.

2002ASP #3000
Shell API example, learn to use common Shell API Functions

Learn how to use SHFileOperation and ShellExecute to send files and folders to recycle bin, create new folders, and open files with any file extension. Also, this code demonstrates how to navigate through your hard drive.

2002ASP #3021
A Basic Set of File handling controls (updated)

FileReal, CloseAllFiles, CopyFile, DeleteFile, GetAttrib, GetFileDate, GetFileExtension, GetFileSize, MakeDIR, RemoveDIR, SetHidden, SetReadOnly, SetSystem, SetNormal, Overwrite

2002ASP #3053
Misc. Quake 1 things

Yet another piece of drudge code. I made these two programs when I was building addons for Quake 1. PAK allows you to view and extract files from the .PAK file (double-click to extract) and .MDL gives you some information on model files

2002ASP #3091
TIFF File Info Class *Updated*

This is an updated zip of my TIFF File info class - I fixed a bug with the IFD Count.. Changing parts of the tags is not an easy task as they move depending on the images size, I needed to set the XResolution to 200/1 and the YResolution to 100/1 - file manipulation not always an easy task. So I looked for help on PSC and found 1 entry using a C DLL to return the info - more files to distribute hohum!! Well I have made my own in using VB ONLY and have turned it into a class module for you all to use.... Please Vote if you like it - any comments or suggestions to improve on it .. I think I have put all the info that is required for the header and tag info - it is based on Revision 6.0 of the TIFF file spec dated June 3,1992.

2002ASP #3097
VBZip - Add standard ZIP compression to your Apps

Add standard ZIP compression and decompression to your Apps by simply adding this comtrol to a form. New version of Richsoft ZipIt 1b Fully updated, now sample WinZip style application is complete! * Add, extract, delete files from an archive * Fully event driven * 9 levels of compression * 8.3 format for compatablity with PKZip for DOS * Fully compatible with WinZip! * Wildcards now supported for all archive operations! For latest information please see my website: www.richsoftcomputing.btinternet.co.uk The Zip file was created using the sample application!

2002ASP #3098
Add ZIP compression/decompression to your apps with Richsoft ZipIt 1b

An ActiveX Control to add zip archive functionality to your applications. * Add, extract and delete files from standard zip archives. * Get file information about the contents of the archive. * Supports 9 levels of compression * Fully event driven Contains a WinZip style application showing how to use the control. Please visit my website for more information. www.richsoftcomputing.btinternet.co.uk

Languages
Top Categories
Global Discovery