Results for "Category: Files/ File Controls/ Input/ Output"
generate two batch files (one to register, one to unregister) that manage dlls/ocxs in a dev branch. the batch files execute and give the line number of a failed registry event. this is a two minute script that saves me time in trying to see what new dlls/ocxs were added/deleted...hope it is useful to all.
Add images to datagrid columns from an ImageList
This is dynamical contact-Form, You can set the Red Star fields and set the Errorhandling. And all without programming. You should only chang a number and a text, for more info read the comments in my code-sample All fields --> save into DB. You can you use Access, SQL-Server, MySQL, Oracle want you want, in my zip you will find a Contact-Gerate.txt (generate Table) into your Database.
Nice 3D Label Control
Acess files and execute them if you like than please vote......
This was originally written for rent-a-coder, but since the buyer never accepted any of the bids I decided to post it here. It's really limited but it shows how to use functions and if... else loops. It also shows how to used enum to make a simple menu. You could make a menu without enum, but enum makes it easier to code and to maintain
This is an Outlook Bar. I prefer to call it OutLook-a-like-bar but to not get into "nag nag outlook is a productname" I called it WBar, where the "W" stands for the first letter of my name.
The program can be used to end the session at a specified time. The owner-drawn menus and listboxes can be interesting I think. Enjoy and leave comment if you can.
This is to show basic FSO & Inet use, it is a registration program that will create a temp.dat file, upload it and change the name to registered.dat and then delete the temp.dat on the users pc. It is commented on almost every single line, it describes everything the coding is doing. Basically made for beginners but to give intermediate and even experienced users some ideas. Please Vote If You Find The Code Useful Or A Good Tutorial, Your Votes Are Much Appreciated.
An extremely simple TreeView control written in ASP. This code show how to create a simple treeview class using ASP and Cascading Stylesheets. It also shows how to load the treeview from a database table Greate for programmers who want to learn how to create simple ASP controls. A live demo is available at http://www.aspwebsolution.com/articles/coder4life/treeview/asp/index.htm If you like it, please don't forget to vote for me. Thanx
The .Net framework does not provide an InputBox function, so I wrote this one to recreate it. Once you add the InputBox class to your project, you simply invoke the ShowInputBox static method when you want to display an input box. The size of the dialog box increases to accommodate large messages.
I wrote this because I got tired of looking for a free control that works like this; most of the time I only find similar editor examples as full editor applications. I am not keeping any rights to this code and am presenting it as is. If you make any improvements or catch/fix any bugs please pass them along; I want this control to keep evolving to the best and finest of its kind. Also, please keep up the documentation in the code as you add to / make revisions. Please make sure you document what you changed / added so I can merge it into the master copy of the control that I'll be still working on. This control is designed to be a self-contained word processor / editor for RTF based files or memo fields (the file you are reading was written using the control). Some of the features that are included are.... Standard file operations (open, save, new, print, print preview, ...); any or all of these can be turned off according to properties Standard editing (copy, paste, find, replace, ...) Locking the contents for read-only Standard formatting options (font selection, text color, background color, bold, alignment, bullets, indents, ...) Inserting of images and date (by format / selection window) NEW: Added new property -- ToolbarsOnFocusOnly. This property will hide dynamically show/hide the toolbars of the editor depending on focus of the editor and the LockEditor property, All of the support windows are built within the class itself, so you need only include the class and a reference to the "RichTextBoxPrintCtrl.dll" (see below if you need this).  Thanks to Keith's comment below this DLL has been removed and replaced with a class, so everything is now included! This update corrects errors that appeared if Option Strict On was used. Know Bug: The only thing I have not been able to accomplish to date is a true right margin. I cannot figure out how to get the actual page width for the printable area. While this is not a show stopper, it is an annoyance.
This code consists of 2 Function (ReadFile and WriteFile). All you have to do is Point ReadFile to a filepath and it will return the text within that file. Write file recieves a filepath and the string value to save to it. They include simple error handling..and can easily and quickly be advanced to handle open and save dialogs.
I call this file search class cDirEx. Other file search examples on this site are pretty nice, but I wanted one that would return each file immediately after a successful match. So I came up with what I call, real-time file return. This search class lets you control the files searched by specifying certain file attributes to search or ignore. Recursive and Case Sensitive searches are supported as well.
This code demonstrates how to capture keyboard inputs all over windows. A class module is provided, and a 2nd example is provided to capture all keyboard keys, including special keys
Monitor all files in a directory & subdirectories for any change in size, attributes, date, access date, modified date, name, and more. Fixed some missed events from last version, and added a few more. Also, added the ability to check sub directories, and add search filters (*.exe, etc..) Also switched to a class based timer, and api file/directory calls instead of slow dir/fso calls. Special thanks to Dana Seaman for the suggestions and input on this update.
Generates the code for opening a popup window depending on the parameters passed by the user. It also has featrues to test the generated code.
This simple code will allow you to programmatically select an item in a listview. Hope this helps.
Here a description about FSO(File System Object) and howto use it
Very easy to delete your directory without going through the hastle of deleting all the files and sub directories first.