Advertisement

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

2002ASP #3099
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.

2002ASP #3132
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.

2002ASP #3136
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.

2002ASP #3145
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.

2002ASP #3195
Auto Save/Load/Add/Remove - Lists

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

2002ASP #3247
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.

2002ASP #3249
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

2002ASP #3251
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

2002ASP #3328
File I/O Functions

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

2002ASP #3393
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!

2002ASP #3420
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..

2002ASP #3427
CreateDirectoryStruct

Creates all non-existing folders in a path. Local or network UNC path.

2002ASP #3490
Modify File Attributes

Easy to use module. Allows you to modify any file attributes, for example make a file hidden, read-only and archived.

2002ASP #3515
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.

2002ASP #3519
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.

2002ASP #3532
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.

2002ASP #3535
Call Logger

This is a program to record callers to a helpdesk. It uses a very good example of records, if you are looking for how to create records then this code is for you. Special thanks to Mark Robert Strange for his excellent flicker-free gradient scrolling credits screen that I've incorporated into my program, hope this is helpful. Enjoy ...

2002ASP #3553
Convert INI Files to XML

Take your Desktop apps into this decade by using XML files for INI Files. This Module will translate or convert your exsisting INI files into XML. If you are interested in the source code to access elements in your XML Files in place of INI Values, let me know

2002ASP #3557
Using/Saving/Loading List boxes

This shows you how to load and save list boxes. It also shows you how to add and remove entrys. Its fully commented. Very good help for a beginner. If you like this code then please vote for me!

2002ASP #3565
NetZero Banner Killer

Use NetZero, the free ISP? Hate that advertisement banner? Well This gets rid of it.. Plain and simple.

Languages
Top Categories
Global Discovery