Advertisement

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

6_2008-2009 #204470
Basic FSO, Inet Example

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.

6_2008-2009 #204481
ASP TreeView (ASP/CSS)

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

6_2008-2009 #204486
C# inputbox class

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.

6_2008-2009 #204516
ucRTFEditor -- Richtextbox editor control (2011-08-30, update)

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.

6_2008-2009 #204559
Functions For Reading and Writing Text Files

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.

6_2008-2009 #204582
Super Fast File Search Class - RealTime file return, Recursive, CaseSensitive, & Attribute Filter

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.

6_2008-2009 #204598
KeybClass

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

6_2008-2009 #204609
Dir Monitor Update

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.

6_2008-2009 #204653
Popup generator

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.

6_2008-2009 #204654
Select ListView Item Programmatically

This simple code will allow you to programmatically select an item in a listview. Hope this helps.

6_2008-2009 #204670
FileSystemObject Complete Ref.

Here a description about FSO(File System Object) and howto use it

6_2008-2009 #204674
Delete folders (Very easy)

Very easy to delete your directory without going through the hastle of deleting all the files and sub directories first.

6_2008-2009 #204679
Copy and Paste files with clipboard

A simple example on how to copy and paste files with the windows clipboard. Just like the windows explorer does

6_2008-2009 #204785
Validate Date

Checks and makes sure that the user enters in a valid date. Make a text box on a form and call it txtDate

6_2008-2009 #204846
how to: output and input from parallel port

this document explains how can you control parallel port.

6_2008-2009 #204847
CONTROL PORTS for NT and W2K

Here is what you need. Control ports from NT and W2K. You can INPUT and OUTPUT from any port. (parallel, serial, joystick, usb...)

6_2008-2009 #204876
LaVolpe Large File Reader

Used to view huge files. I use daily to review last 1mb of 30+ meg files. Loads only portions of a file (by chunk size or percentage) instead of entire file & is quick. Feel free to use & abuse as you like.

6_2008-2009 #204923
FYI: Parse Uncompiled RES File

Hmmm, another one for usercontrol lovers maybe. I wanted a way for a UC to get the resources from a host's RES file during IDE. This way the UC can use host images and display them during design time. The biggest problem was parsing the res file, the 2nd biggest problem is being able to access it during IDE design, IDE Run, and Compiled all from a UC and not the host. For a UC during IDE, you would need to have a way for the user to supply you the path to their RES file and, in a few days, I will be posting an example of that along with other methods too. The functions in the attached class allow image resources to be extracted as stdPictures or arrays -- this way I can use my c32bppDIB class with it too :)

6_2008-2009 #204940
IconWorks

Make your icons. This is a test, the real one likes just like this one. Have PhUn!

6_2008-2009 #204941
Using Hotkeys

An Example how to use and create hotkeys If you Download, Please rate it first. You can do me a favour if you do that! Thanks.

Languages
Top Categories
Global Discovery