Results for "Category: Files/ File Controls/ Input/ Output"
Opens a INI-file and Get the value of ex: "Screensaver=" without using any system calls!!!
Easily lets you add a link from you VB application or open default email program.
This example builds on Srinis example found on www.vb-helper.com. Srinis example loaded data to a treeview from a text file with tabs denoting indentation. My contribution is the save treeview to file function. It only saves one level of childs, it was all I needed for my other project. Srinis example loads more than one level of childs. I am shure some small modifications to my example will enable it to save multiple levels of childs, but thats your jobb ;)
Sorry last entry had no .BAS FILE, SORRY FOLKS... It demonstrates how to use the drag & drop methods. It also shows you how to dynamically add controls in run time and how to move controls around. The prog lets you create controls and have them snap to a grid.
This code is based on the Windows 95, Windows 98, and Windows 98 Second Edition glitch in file viewing. Be very careful with this tool for if you lock the folder that contains the program, the program will not run. For example if this program is in your C:\Program Files\Lock\ folder and you lock Program Files the program will not run. There a few safety features. First you need to create a shortcut to the EXE (when you compile it or just rem the line in the frmLoad Form_Load section that checks for the Command$). Create a shortcut to the EXE and give it a command line of shortcut. (If you edit the properties of the shortcut file and find the location of the program. at the end of that add "shortcut" without quotes). Next your mouse needs to be in the upper left hand corner of the screen at co-ordinates 0,0. I would suggest giving the shortcut a "hot key" or using the keyboard to open it. Without the command line "shortcut" and the mouse being in the upper left hand corner of the screen the password box will not appear. Now the initial password (default) is "maxx" without the quotes. Once in the program you can change the password. You can always delete the string from the registry and the password will default back to maxx. The file/folder locking feature is due to windows 98se and belows glitch. DOS can read characters windows can not. So by going in dos and using an ALT code to rename a file/folder it will rename it. However windows will not be able to read the alt code and will give the file/folder an underscore. You will not be able to open/explore or delete the locked folder/file. In my program I use the alt code of alt+0254 or chr$(254). If for some reason you mess up a file or folder and the program can not rename it or if you locked the program itself you can manually fix it. Either load a dos prompt or restart in dos. The command used to rename files in DOS is REN or RENAME. The format for ren or rename is the same and goes as follows. REN (Source Path and File Name) (New File Name) for example: REN C:\Clever.txt Smart.txt this will rename the file Clever to Smart. To get rid of the lock you will need to use alt plus the number-pad. Lets say clever was locked. You would need to do this REN C:\Clever(hold alt and press 0254).txt Clever.txt When you hold alt and press 0254 it will insert a box, that is the alt code. When you hit enter the file/folder should be renamed and everything should be okay.
This code enhances input validation in real time instead of waiting for the user to press a button(Ok or Submit or whatever...). With this code you can limit the user input to whatever type you want(Whole Number, Fractional Number, Uppercase...).This also provides a way to optionally notify a user when an input error is being made while typing or pasting. Besides that, other features that are not available in VBs wrapper are exposed to developers. Discover for yourselves through your object browser. This class can also be attached to controls that have an Edit box constituent(like Comboboxes and Grids). Please vote for this code if you find it useful. And please comment.
allows viewing and changing of file and folder attributes batch or one at a time. contains warning msg boxes where nessary
This is a small program that I use to pak text file into one big one. It does not add an compression to the file just paks them in to one I hope to add some compression into it soon or when I can find some infor on how to do that. Any way I have also included a Winzip like Self extracter that you can build the pak file in to exe and run them on any computer. as long as vb runtimes are installed anyway Hope you lile the code.
Hi this is a little program that can remove Items left behinde by programs, It rmoves old files form the Temp folder., Removes Items form the Recent Doucemnts menu, Removes old Typed in web address form IE and Netscape. Removes Netscape cache, Clears Items form the Run Menu, Emptys the Recyle Bin And also has some more functions like a Simple but effect File Wipeing. anyway I hope you like this program and please Vote for Me... Also please leve lots of comments.
Hi all, this is a real console app that can run from the DOS Prompt. comes with it's own tools so you can convert the app after it's been compiled. so no need to mess around with Link.exe. well it comes with it's own example. and also I made a little help file. Hope you like it.
This small pice of code will allow you to compile a text file to a .RES resource file that can then be included in to Visual Basic. At the moment the compiler only compile custom resource types. Note that this compiles the files without the RC compiler. also at the moment the source code will only compile one file to a resource file. if someone can help with that problum that will be helpfull. Well I hope someone finds some us for the code.
Nise little project to view the contents of zip files anyway I made it as a Class DLL so you can easy load the dll into your projects, comes with full source of dll+ example, can view all files in size includeing, sizes, ratios, Paths, and much more, Example project allows you to also use the listview and add the files and File icons, etc anyway there maybe one or two bug not sure as it only took 30 min to write anyway hope it maybe of some use.
Self Delete is a small example of how to delete a program after it's been closed. I seen many examples. but none that do the trick for me. ok this example. allows you delete files regardless of sort or long filenames deletes from any location, Deletes regardless of file attributes. all code is commented and easy to use. hope you like it.
Hi, This is some code I made about 30 min ago that will phase in the commandline Arguments. A little like what you see in C++, supports command line Arguments with spaces, quotes, find out the number of Arguments. I also included a small example Hope you may find it usfll.
Color folder is a small tool to chnage the color of a folder, I made this example after seeing GioRock Custom Cursors Color example. that gave me an idea, anyway you chnage the folder color, and it also does a small amount of shadeing, there are also some folder styles. and the option to set the icon on a folder. anyway hope you like it, agian Thanks to GioRock for shareing his example.
hi, I was working on a small project, were I needed to add properties to an control. so I decided to make this little quick code, does not use the DataGrid, as I did not want to use, over loaded controls, all this uses is TextBox and a ComboBox array. anyway code is faily simple, and it sort of does the job for small things, anyway hope you find it usfull.
Hi, This is a simple and basic File serach tool I made for my self cos I do not like Vista new serach tool, anyway it easy to use and can Serach by filename or patten eg *.exe, it can also serach in a single folder or subfolders and display the results. anyway Hope you like it
DM Simple FileAchiver v1.0 DM Simple FileAchiver, is a simple file achiver I made for an easy way of keeping files I needed for a game, in a simple way, makeing is also easy to update the grx and other resources. DM Simple FileAchiver, allows you to Add, Extract, Delete and Open files You can also create a build a self extracting exe, to give to other people. All code is commeted, main packing code is in the two class files. so if you do not use the program, you can still find some usfull code for using listview, dealing with files and other things, that may help with your own projects, Hope you like it.
Beta V1.0.4 of my Random Access File program. By no means is this a complete app; however, it now has the look and feel of an Access environment...MDI look-and-feel (just the beginnings). Adding more validation routines, login prompt (which uses reads from an ini/config file), toolbars, menubars, progressbar and search function. Great for beginners and may help some intermediates. No ODBC or ODBC-bridge needed. Just a simple text file using the age-old Random Access. Again, this is not a complete app. If you like it, please vote and leave comments.
Well, i saw all the submissions on FILE copy, and i decided to share my buffered copy class. Worth a look if you are looking for a screamming fast file copy (excells on large files and floppy disk access - physical reasons:), oh, and before i forget... it has PERCENTAGEREADY support... u can update a label or a progress bar with it.