Advertisement

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

5_2007-2008 #175047
Load in Previous Instance

Another example for Beginners from MrBobo. This example program shows how to communicate between instances of your application. Lets say your application is assosiated to a filetype. The user clicks on such a file and an instance of your application is launched. But what if you want to load the file in the existing instance - not the new one ? There are many examples of how to achieve similar results on PSC. This method is designed for reliability and ease of use with a minimum of code to implement.

5_2007-2008 #175048
Extension Changer

More examples for Beginners by MrBobo. This little demo demostrates the use of Drive boxes, Dir boxes and Filelistboxes. To give the example some purpose it allows you to safely bulk change the extensions of files in a selected directory. To do this safely you need to quickly parse filepaths and include error handling to avoid overwriting. The demo includes an example of a 'Desktop' and 'Up one level' button in its' browse function, get special folders, enumerating all filetypes from the registry and a simple auto-complete function for comboboxes. Includes an interesting function - Safesave - which appends a number to a filename if the file is found to already exist.

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

5_2007-2008 #175080
VBSINI2

With this ocx you can access INI Files from vbScript, VisualBasic, ASP (maybe). Read, Write Keys, Read all KeyNames of Sections, Read all Sections of an INI file. Delete a Key, Delete Section ..... The Readme.htm shows how it works. This Upload has now also include a Demo for Visaul Basic and vbScript. Also included is the code for the OCX, it's written with VB6 and it's a good demo for the how to create an ocx file. Please vote for this code

5_2007-2008 #175121
Using CommonDialog (Open, Save, Print, Font, Color)

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

5_2007-2008 #175124
Allow Only NUMBERS in a textbox! simple

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

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

5_2007-2008 #175175
Execute all files

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

5_2007-2008 #175183
Get file attributes

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

5_2007-2008 #175224
PAK Control

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

5_2007-2008 #175271
LED Meter User Control

This is a custom LED Meter User Control for .NET. It is part of a larger audio project I was working on and I thought some of you may like to use it also. You can change the colors, styles, values. It returns the percent based on the minimum and maximum and value of the control. For the most part it is bug free, if you do happen to find any bugs please let me know so I can fix it. You are free to use this code as you see fit, I do have one request, if you use the control unchanged or modified just a little please include me in the credits. Other then that I hope you can use and learn some things from this control. Please vote if you feel it is worth it.

5_2007-2008 #175287
all Ini Functions activeX.dll

Performs all ini file functions from within a single dll file.

5_2007-2008 #175291
Dummy Files Creator

This is fairly simple code and its well documented. When this program is run it just continually generates a random name and makes a file in the c:\windows dir. There is a part where you can add more lines to make the file output is even larger. So check it out. BTW don't test on yourself, I did. IT created over 1600 files in 3seconds

5_2007-2008 #175299
Filename only from a path

Ever wanted to extract a filename only from a path including the filename, well this simple function will do it for you! (I know its not ground breaking but its simple easy and useful)

5_2007-2008 #175309
Custom picture file

This is not complete! it only saves in weird way. I am mostly submiting this to get feedback. I want to know if anyone has a better way to make the file it saves smaller and if anyone has a way to open it ;)

5_2007-2008 #175331
Stealth-Chat a File Chat program

This is a file chat program that lets users chat to each other without the aid of ip addresses and winsock controls, all it needs is the location to a shared area on your network where the room files will be created then every one else enters that address in there program and then you are able to chat to each other. This program also contains static rooms that you can go to so you dont have to stay in the same room all the time. Also by the press of a button it changes into a replica of notepad in case any one comes along that might not like you chatting.It worked in my school...lol!! PLEASE TELL ME WHAT YOU THINK.

5_2007-2008 #175358
Dir Tree View

Displays a list of all the drives and folder s in a tree view control just like Explorer. Please note: I did not write this code, it has just been compiled into a usercontrol so it is easier to use. Thanks to Marek Letosnik for the base to this code. You can customise this code easily to get it looking how you want it. I have changed some stuff to make it look better as well.

5_2007-2008 #175377
Deleting Directory with all the Subdirectories

Delete a folder, with all it's subdirectories.

5_2007-2008 #175382
Protect files and folders

It protects files and folders from users.

5_2007-2008 #175388
Forms Tabstrip and Dir select

Two pre made forms (Tab Strip and a dir select) ready to put into your apps from the VB project window. Form1 = 31 lines of code giving you a 6 window Tab form to start working with. Form2 = 13 lines of code giving complete access to you file system with minimum code. Just unZip to your forms file which by default would be somthing like "C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms" then launch VB and add a form you will find them their. Saves me ages, I do have other forms but will only add them if people vote for these. JP keep on coding.

Languages
Top Categories
Global Discovery