Advertisement

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

2002C #10405
Passworded

Sorry guys about my other code....i compiled the exe with it and i found out i had the cih..i cleaned my system ..but im not gunna add exe files to the zip's anymore...sorry about my other code... this is somethin u can use for a startup of a program for password stuff...you can create new accounts for username and passwords...it works..no bugs..no exe file in this one

2002C #10445
Include a file in a program

Include a file in your program.

2002C #10450
Add Byte's to a .exe file

It add Bytes to a file.

2002C #10453
Serial Com User Control

This is an event driven VB user control to handle serial COM communications. Instead of using the default ocx you can now compile this user control with your code and you don't need to supply any extra ocx's or third party dll's to support serial comm's.

2002C #10472
Binary Save/Open File

Saves/Opens Binary file. Takes the contents of (2)Listboxes, (1)RTB, and (1)Label and saves to a binary file. Also opens the contents of the binary file into (2)Listboxes, (1)RTB, and (1)Label.

2002C #10586
Drive Structure

Just a simple program which uses the FileSystemObject and Recursion to output a complete directory/file structure of your computer to a file. I was originally gonna use this as a sort of snooping thing a while ago, you could run it on someones computer, and then read the text file to see what they had on their computers. The text files come out quite large, but when zipped up they're usually only about 50k. Uses a good example of recursion.

2002C #10620
Editor

Yet another word processor. Shows the basics of centering text, left/right justify, choose font, font color, cut, copy, paste, undo, select all... Keeps track of if your current file has been saved or not, basic word processor. I got bored.

2002C #10634
CommonDialog with Recent File Tab

Adds a touch of professionalism to your project. Just like VB IDE. One tab has the common dialog, the other tab shows recent files, their path and their icon in a listview. Can obviously be adapted to show images, provide different settings and options to the user as to how they wish to open a file. Included : Standard EXE project, UserControl Project and test project, OCX Project and a test project for the OCX. Demonstrates saving/loading listview to registry, getting file icons for use in a listview, how to build your own commondialog controls, controlling other apps windows.

2002C #10639
CommonDialog and Browse for Folders Plus

Browse for Folders Dialog with 'Create New Folder' button and 'Include Subfolders' checkbox. CommonDialog with image previews. Both these controls are updated versions of functionality included in some of my previous submissions. Now Win 2K compliant. Please vote if you like it.

2002C #10640
Yet Another Better Browse for Folder

This module provides a Win2K interface to the Browse for Folder under Win95/98. This is not an update to my earlier submissions but a complete rewrite using pure API. With Win2K MS introduced a new DLL (SHELL32.DLL Version 5.0) which includes a better Edit box, Popup menu and a New Folder button. With this module you can achieve the same result (except the Popup menu) using the old DLL (SHELL32.DLL Version 4.71) as used by Win 95/98. Additionally you can add a checkbox, customise captions for Titlebar, OK button, Cancel button, New Folder button. You can also resize the Browse for folder window. Additionally you can choose to open the dialog double size or full screen. All the usual features are present, such as include files, start at special folders etc. You can select between the old style Editbox or the Win2K style editbox (Much better I think.) Why bother? - Not everyone is running Win2K. Very easy to call. Heavily commented and includes complete sample usage. Please vote if you find this useful.

2002C #10647
Saving/Loading a listview Example

Shows how to add items to a listview and then save those items to either an INI file or to Registry. Once saved you can then load the data back into the listview.

2002C #10653
Beginners Toolbox

Threw this together to answer a group of questions in the Discussion forum. It is intended to help those just starting VB. It demostrates string manipulation, file handling, simple navigation, reading and writing to files. It includes four example apps that include menus, window handling, file properties and a basic text editor. Code for each function appear in a textbox ready to copy into your project. I hope this is of some help to people beginning VB. Good luck.

2002C #10670
Using CommonDialog (Open, Save, Print, Font, Color)

learn how to use the Common Dialog Control the right way!!! please vote or at least comment!!

2002C #10680
Allow Only NUMBERS in a textbox! simple

allows only numbers to be entered into a textbox!!! very useful!!

2002C #10703
File Recursion

Demonstrates the use of recursion to retreive the files in a folder. Code is in two mudules...one demonstrates the Windows API's to open a browse folder dialog box to select a folder, the other contains the code to list all of the files in the directory selected, including files in all subfolders. Code is well documented.

2002C #10708
Execute all files

Normal users use the Shell command, but that command can't execute all kind of files, but this can

2002C #10714
Get file attributes

This shows how to get the files attributes or set the attribute for the file

2002C #10734
PAK Control

With this code, you can merge multiples files (any file) in a one single file! It's fast and easy to understand.

2002C #10743
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

2002C #10745
Copy files in directory - Extremely simple!!

With this code you can copy all files within a directory with a particular extension to another directory. Actually it will give you a progressive listing of a file with a wildcard and then you can do whatever you want with the file. Extremely simple and straightforward. I dont understand why the other codes are so huge. If you find an error or if you would like to comment please leave a messge.

Languages
Top Categories
Global Discovery