Advertisement

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

2002C #11535
Read/Write Files with VBScript

Read and write textfiles with VBScript.

2002C #11539
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.

2002C #11551
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.

2002C #11571
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.

2002C #11578
Console Class

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

2002C #11604
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.

2002C #11625
A Basic Set of File handling controls (updated)

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

2002C #11657
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

2002C #11695
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.

2002C #11701
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!

2002C #11702
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

2002C #11703
View information about Zip archives' contents without WinZip

Richsoft Zipit Control Version 0.9 -------- ----- ------- ------- --- This ActiveX control will read a Zip file and will return information about its contents. It also returns information about the files within the archive.

2002C #11736
Sending Raw Data to the Printer Port in VB

Have you ever tried to send raw data to a printer port (LPT1 for example) using Visual Basic without using VB's printer object or an outside DLL or API? If you have then you know that it is virtually impossible because Visual Basic cannot directly access any system devices. This very simple code demonstrates how to use an undocumented feature of VB's 'OPEN' statement to allow direct access to the printer port as if it were a file. Accessing system devices as if they were a file is a method that was built into the old DOS-based versions of Basic, but until now I was unaware that this functionality still exists in Visual Basic. This method even works in Windows 2000, which is supposed to block direct port access for security purposes.

2002C #11740
How to Load Files from a ListBox

This simple code demonstrates how to load a list of files into a standard list box, and then display the contents of a file when it is selected from the list.

2002C #11749
How to Append a file to an EXE

This is just to show you how to append a file to an executable. Could be handy if you wanna save maybe a tag to your exe file. Have not test it with very large files but small file works perfectly.

2002C #11799
Auto Save/Load/Add/Remove - Lists

Auto Save/Load/Add/Remove from/to a List

2002C #11851
File Dialog Class (replace common dialog control with this lightweight class)

Replaces Microsoft's common dialog control file dialog features. Uses same interface to call the FileOpen and FileSave dialogs including multiselection support. Instead of making a more versatile control with print dialogs, color dialogs, and hooking, I decided to make a very lightweight one since the CommonControl Print and Color Dialogs are essentially useless. I could have added hooking functionality, but that would involve including a standard module as well. The only major benefit of hooking is the ability to center the dialog. However, with this code, as long as you specify the form's handle, it will position the dialog to the upper left of the form This is a direct replacement to the Microsoft CommonDialog control and will involve very little Change in coding to implement.

2002C #11853
Save As JPG Files

With this code come the Bmp2Jpeg.dll file that you need to put in the Windows\System directory With this dll come a API function BmpToJpeg that convert Bitmap file to Jpeg file. The program save the Picture as Bitmap and convert the file to Jpeg Picture (With 100 Compress Quality) and delete the Bitmap File

2002C #11855
Scan with vb

With this code you can scan pictures by a scanner Yuo can select a TWAIn and of curse scan. When you download you will download a dll file that you will need to scan in vb

2002C #11932
File I/O Functions

The codes included in zip file. Vote if you learn something,please.

Languages
Top Categories
Global Discovery