Results for "Category: Files/ File Controls/ Input/ Output"
learn how to use the Common Dialog Control the right way!!! please vote or at least comment!!
allows only numbers to be entered into a textbox!!! very useful!!
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.
Normal users use the Shell command, but that command can't execute all kind of files, but this can
This shows how to get the files attributes or set the attribute for the file
With this code, you can merge multiples files (any file) in a one single file! It's fast and easy to understand.
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.
Performs all ini file functions from within a single dll file.
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
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)
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 ;)
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.
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.
Delete a folder, with all it's subdirectories.
It protects files and folders from users.
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.
I have seen all of these really complex GetKeyAscii functions out there. Well check this out.
Round to X Decimal places with one line of code!
Is a simple notepad like text editors with a few extra features...
I have some problems when sending eMail with a large file size as attachment. First, some mail server set a quota for that eMail. The second problem is coming when the recipient download the attachment. It takes long time to download, or when connection broken (because of time), he/she must re-download it, again and again. I imagine why we don’t create a program to cut the large file into peaces, and then send it one by one via eMail. After that you combine all of the attachments and become the original one.