Advertisement

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

5_2007-2008 #176881
How to add "Print" button to your page

Prints out the content of a webpage

5_2007-2008 #176893
Auto Save/Load/Add/Remove - Lists

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

5_2007-2008 #176900
Select List Thingy

*UPDATED 10-23-00* Now with more options, including multiple select, size, and default selected option. Quickly and easily creates select list combo boxes from a database for your web forms. Uses .GetString rather than recordset looping.

5_2007-2008 #176917
Get drive information (Disk ID, FreeSpace, Label, etc)

These functions will provide you quick, fail-safe information about a specific disk letter you specify (ex: "C:\" ) GetDriveSerialID - Returns the serial number of a drive partition (if available) GetDriveFreeSpace - Returns the free space of the specified drive (if available) GetDriveSize - Returns the total drive space (if available) GetDriveUsedSpace - Returns the used disk space of the specified drive (if available) GetDriveLabel - Returns the volume label of the specified drive Some functions are declared as variant instead of longs, avoiding the 2GB limit.

5_2007-2008 #176975
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.

5_2007-2008 #176985
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

5_2007-2008 #176986
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

5_2007-2008 #177074
Check if a file exists

Comes very handy when you want to see if a file your program needs is installed or if your program's ini file is there or.... NOTE: A note on how to make money while you are programming is included! did you now that you could be making money right now?

5_2007-2008 #177107
How To MAKE a window, NO MFC

Well, want to ACTUALLY create your own form? no MFC or Resources. This is code to actually make a raw form. easy to use. Please gimme feed back.

5_2007-2008 #177110
File I/O Functions

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

5_2007-2008 #177168
Loading and saving a file with a Memo

How to load and save a memo from and to a file on the hard drive.

5_2007-2008 #177199
A Cool Directory Map

This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!

5_2007-2008 #177249
Save/Load Text to a listbox with common dialog

No example on psc for this so I put it together for others; LOAD and SAVE text to and from a listbox using common dialog control..

5_2007-2008 #177349
Embed Binary Files In Programs

Embed binary files within your programs to be written out to the file system once the program runs. This demonstration creates a Word document.

5_2007-2008 #177350
Determine if File Is Old

Determines if a file is old. I use this when I loop through the files in a "temp" directory to determine if I should delete old files on a website. Take note - the function looks at the last modified date rather then the date created.

5_2007-2008 #177361
Web Navigation Scriptlet

Navigate through a website within a small area of the screen.

5_2007-2008 #177378
Listbox, Common Dialog/Multi Select, Drag Drop/Multi Select, Parsing Example

You can drag (multiple or just one) files from a program like windows explorer or a common dialog onto a listbox & add them all to it, & parse before adding to just get the dir, filename or the whole thing.

5_2007-2008 #177394
VB Printing Tutorial

This may be some help if you want to print with VB. It does not cover everything to do with printing but is a good start.(...No PrintForm...) Using X,Y, Coordinates.

5_2007-2008 #177398
ASP File Upload v1.5

ASP File Upload v1.5 will provide you with the customizable, easy-to-use functionality to upload files to your server using pure ASP. This is a customized version of Karl Grear's "Form Based File Upload Using Pure ASP." According to Karl: "With this code you will be able to save a file in any directory that the anonymous account assigned to it (usually IUSER_machinename) has access to so be careful. I should note that the server needs ADO, ADOX and the File System Object installed on it."

5_2007-2008 #177449
Color Wheel Picker

I was working on a scriptlet to allow users to choose a color. A color wheel is displayed with an assortment of colors - most of witch are web-safe. Clicking on a color causes it to be outlined and raise an event that a color was chosen. This object mimics one of the color-picker forms found in Microsoft Office 2000. This scriplet does not yet raise events or expose properties. The basics, however are available for you to be amazed.

Languages
Top Categories
Global Discovery