Advertisement

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

6_2008-2009 #212877
A listbox example

This code will show you how to 1: add to a listbox control, 2: Delete from a listbox 3: Check an item exists before adding or deleting. Hope you like, feedback always welcome.

6_2008-2009 #212882
Floppy Disk Format

This code is a demonstation on how to format a floppy with out using format.com and with out calling the SHFormatDrive API. This code allows you to format a floppy without a popup window. Currently it is set for 1.44mb only, but all the code is there if you want to play around with 702kb and 2.88mb. From what i understand this code only works on NT based systems.

6_2008-2009 #212896
CopySelf

Copy itself to a location specified.

6_2008-2009 #212917
Build big test files 30-Mar-2012

Ever have the need for a big test file? Now you can build one or more 1gb in size with the option to combine them into one very large file. === 30-Mar-2012 Updated documentation. Added modTrimStr.bas module.

6_2008-2009 #212984
Huge and Unicode file functions

come from Vietnamese, this unit will help you work with *HUGE* and *Unicode* files... Demo n Source included. Really cool, vote me :)

6_2008-2009 #212995
File Exists PLUS

Determine if a file exists and retrieve information about size, creation/modifed/access dates and file attributes, this could also be modified to retrieve version information as well. UPDATE: In Response to Solo's statement you can now also retrieve file version info and other information such as company name, file description, default language, etc.

6_2008-2009 #212997
INI to XML Class and Edit utility

I have seen several INI to XML conversion submissions on PSC, but they all seemed to lack some functionality, so I decided to write this. With this class you can convert INI files to compatible XML files and a create a new file. You can also create, delete and edit sections and keys as you wish. I think the editor is pretty easy to use, but have included a Word document that describes how to perform certain tasks. Please let me know what you think, bugs found, or any ideas for improvement.

6_2008-2009 #212999
Setting and getting file attributes w/o affecting other attributes - Updated

These two simple wrappers can be used for setting and retrieving individual or selected file attributes without affecting the other attributes of the file. For example, to set the Archive bit of a file you should not just set its attributes to vbArchive (32), as this will turn off any other attributes currently set. Normally you would need to get the file attributes, add the desired attribute to the current attributes, then set them again. These wrappers just hide the details of this process. Update thanks to redbird77. +++++++++++++++++++++++++++++++++++++++++++++++++++ With the GetAttrib wrapper you can easily test the current state of an attribute. You simply specify the attribute(s) and the function will return True if the specified attribute(s) is set to on. You can specify more than one attribute and True will be returned only if all specified attributes are turned on. +++++++++++++++++++++++++++++++++++++++++++++++++++ The SetAttrib wrapper simplifies the setting of an attribute to on or off, and will be set as desired irrespective of its current state. You can set more than one attibute at a time (eg. SetAttrib(sFile, vbReadOnly Or vbHidden) will set these attributes to on, no matter if they are on or off, without affecting other attributes that may be set. +++++++++++++++++++++++++++++++++++++++++++++++++++ My first version of the SetAttrib function used 'Xor' to turn attributes off, but thanks to redbird77, I have updated it to 'Not' which has eliminated a limitation of my version. The bottom line is that you can set a files attribute(s) to on or off without needing to know the current state of the specified attributes, while not affecting other attributes that may be set.

6_2008-2009 #213000
The Question of Existence

I have come across several different solutions for testing for a file's existance, from Dir to opening the file, testing for error, then closing the file again. I remembered an article/comment by Bruce McKinney that influenced my solution to this problem and thought I would share it.

6_2008-2009 #213002
FileTime Changer

This small application helps you to change the last access date and time and file created date and time. Has been helpful at times.

6_2008-2009 #213015
Help files

Make simple help files to support you're apps

6_2008-2009 #213028
Jz Friendly Text File Ops (Final Enhanced 1.2)

Friendly OCX for Text Files I-O Operations! OpenFile, Getline, PutLine, InsertLine, AddLine, RemoveLine, Backup, Restore, Update, Save As, TotalLines, and unique Event for all Errors; No file size limits; No APIs; No Classes; its easy to treat as many files as need - merely drag one for each file. Two Projects: The Activex and a Sample EXE. v1.2.00:- All commands return T/F, new commands 'OpenHole' and 'CloseHole', functions Exists, BakExists and NewExists.

6_2008-2009 #213036
DosControl

Captures output from dos programs and outputs them to a windows forms textbox. The dos program runs invisible. IE: ipconfig is called, and the output is displayed in a textbox on a form, not in a dos box.

6_2008-2009 #213108
FileLib2/TextLib2

FileLib2 is a class module for handling a big file that contain other files. Useful for storing small files if you have big cluster size. TextLib2 is a text database program using FileLib2. Yeah, i know that this doesn't sound good, but it's fast, and easy to use (...and my english is bad).

6_2008-2009 #213116
Progress Bar Example

This hummorus application explains how to use the Progress Bar Controls. This program is based on a spoof for people that have massivly oversized harddrives. This code was written in VB .Net (2002) but the logic can be used in most versions of Visual Basic.

6_2008-2009 #213126
fso and all subfolders and files

how to use filesystemobject to get all subfolders and files and how to separate in a listbox, check screen shot.

6_2008-2009 #213128
Internet checker, see screen shot

use to watch the sites visited, allocate time spent on the net, create a log file, hide in the system tray. uses password so you have control over the program. added the use of adding more users with there own set of websites they can visit.

6_2008-2009 #213130
internet log, logs when internet opened/closed and where visited

also goes to systray and creates a .txt file to hdd with the log, did it to keep an eye on what pages my kids where visiting, you never know what they are upto lol.

6_2008-2009 #213131
internet logger, updated see info

will check and log if internet is open/closed and which sites are visited. updated so it will find the urls no matter how many windows are open and you can open the urls by dblclicking the item in the listbox.

6_2008-2009 #213137
KMMenuCompnent

This is the new version of the UltimateMenus project for menus I submitted earlier. Now its more easy and fun to work with the new version. Just simply click and drop the KmMenuComponent Provider control from the toolbar. and set the properties through the properties window. Lots of themes included. go ahead try it out and let me know what you think of it. Please don't bother your self with the second control I mean the KmProfessional component. It still needs some work. But the first component will work fine. Give it a try. ENJOY...

Languages
Top Categories
Global Discovery