Results for "Category: Files/ File Controls/ Input/ Output"
Reads / Loads contents of a textfile into a listbox
To be able to make files on the fly. To embed those files within the executable of the vb program. To have one exe file that can make dependent files as needed.
This little number will help you understand the idea of having a file association like notepad, wordpad or any other program that if you click the data file it will launch the program and open the file. This one will play macromedia flash files, plus also has an auto resizer so that you can grow and shrink the window, and the information inside will do so as well.
This searches a givin directory for .jpg .bmp .gif and can be edited to search for other picture formats as well. It then lists all pictures found in a listbox. Click the checkbox to preview each picture 1 at a time in Microsoft Internet Control(Web Control). Please Vote! underground technologies [email protected]
Persian Calendar Viewer
Read and write INI-files.
This code will tell you how long it will take to download a file just put in the Size and speed it will do the rest
This code shows how to load an Explorer type treeview control using the FileSystemObject. The heart of the code is modTreeview, where all the work takes place. You can drop this module into your project, reference the FileSystemObject and go. All the code is here to show you how to load the treeview control, handle clicks and get the path back. Nothing majorly spectacular but handy. It is also fast loading because it doesn't load the next "level" until the user clicks...just like windows explorer.
There are two different programs which come in this *.zip file. One of them is about User-Feedback. The other code is about using edit boxes. This also comes with a really great e-book on: “Writing your first dialog based application using Visual C++.” I strongly recommend you read this e-book if you are just starting to program in Visual C++ (Uses MFC).
Allows you to reset the Created/Last Modified/Last Accessed date/time stamp on a single file, multiple files or all files in a specified directory. Works on all file types with all file attributes (normal, read-only, archive, system, hidden). Useful for setting uniform date/time stamps for a project deployment.
This lets you click a button by a text box, click a date, and it fills in the textbox for you. Instructions: unzip into a single directory and look to popupcal.asp for a demo. Added comments to popupcal.asp to answer some of the questions people have had.
This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")
This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.
A Visual Basic example of how to use FileSystemsObject and Regular Expressions to parse Counter-Strike game logs. Requires Microsoft Windows Script 5.5 which is freely available at http://msdn.microsoft.com/scripting
This program is meant to be a reference to creating your own caller ID program, not an off the shelf application that works for everyone. There are several aspects of this program that will have to be taken into account before running it successfully.
View whats happening in a programs memory in hex or alpha format. Just like a standard hex editor only it allows you to view the programs memory rather than the program itself. Has the option to edit values in the programs memory. Also includes a search facility to find hex, string or numeric values in the memory. Still a work in progress so code is a bit messy but it seems to function with no problems.
An update of my original hex editor with more functions. Please vote for me!!!
This code illustrates the use of the combo box control with no MFC.
This tutorial begins with basic HTML showing how to set data on a Modal Dialog and return that data to the original page using Javascript. There are a few tricks which will be illustrated that you'll have to use if you want to get the same functionality with ASP.NET pages. I've seen similar tutorials and samples on the web. Some claim to have modal dialogs but still allow clicking on the main window. Most don't show how to return multiple values from the dialog. Included in the .zip file is a web page called Instructions.htm which (you guessed it) includes tutorial instructions. The HTML source is in the HTML directory and the ASP.NET (C#) Project is in the DialogAspx directory. I have only tested on Internet Explorer 6.0 but I believe it will also work on IE 5.0. Please rate and post comments. Enjoy!
Easy way to convert between file document types. Must have MS Office on your system. If you have office 2007+ you can obtain a free MS plugin for further types of documents making it possible for this code to be adapted to convert to .pdf and others. No votes as code is adapted from code I found somewhere.