Results for "Category: Files/ File Controls/ Input/ Output"
Prints out the content of a webpage
Auto Save/Load/Add/Remove from/to a List
*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.
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.
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.
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
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
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?
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.
The codes included in zip file. Vote if you learn something,please.
How to load and save a memo from and to a file on the hard drive.
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!
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..
Embed binary files within your programs to be written out to the file system once the program runs. This demonstration creates a Word document.
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.
Navigate through a website within a small area of the screen.
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.
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.
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."
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.