Click here to Skip to main content
15,891,906 members
Everything / General Programming / File

File

file

Great Reads

by Tomaz Koritnik
TmStorage is a structureless virtual file system from which complex storages or databases can be built.
by Mark Pelf
Beginner’s tutorial on PE format, with illustrations
by Lodewijk Pool
A quick and easy way to direct Java System.out to File and to Console.
by Mikhail-T
How to convert string to text file and return it back to user as a result of a controller action

Latest Articles

by Mark Pelf
Beginner’s tutorial on PE format applied to .NET assemblies
by Mark Pelf
Beginner’s tutorial on PE format, with illustrations
by Michael Sydney Balloni
See how Rust stacks up against C-ish, C++, and C#
by Andreas "PAX" Lück
Investigation of PE file modifications performed by Microsoft Detours

All Articles

Sort by Title

File 

19 Dec 2010 by Ian Shlasko
Unless I'm misreading your code on CodePlex, it looks like your utility loads in the entire file every time it changes. That might be fine for tiny files, but it would be a huge performance hit for larger ones (a few megs, for example).Why not do it a bit more simply?using (FileStream str...
17 Jan 2012 by Lodewijk Pool
A quick and easy way to direct Java System.out to File and to Console.
2 Feb 2012 by Member 3896609
try{ FileOutputStream fout= new FileOutputStream("stdout.log"); FileOutputStream ferr= new FileOutputStream("stderr.log"); TeeOutputStream multiOut= new TeeOutputStream(System.out, fout); TeeOutputStream multiErr= new TeeOutputStream(System.err, ferr); ...
18 Oct 2013 by ASP.NET Community
How to add images in Image Rotator with the help of FileUpload control
15 Dec 2017 by Laurie Stearn
Dialogex with Listbox to manipulate long paths in Windows
8 Mar 2011 by Olivier Levrey
Simple helper classes to read/write files using BufferedStream plus a few handy methods (read/write structs or simple arrays)
16 Mar 2011 by I'm Chris
Unless I'm wrong, the FileStream is buffered, no?
17 Dec 2011 by Ragheed Al-Tayeb
Hi Olivier,First, thank you for your helpful post here and I'd like introduce some suggestion that might help to increase the performance of the Read & Write methods (of arrays such as ReadIntArray, ReadFloatArray and WriteIntArray, .... etc.). My suggestion is to make use of the...
22 Jan 2015 by Emiliano Musso
A quick method to convert a CSV file in XML
4 Sep 2014 by ASP.NET Community
Here is a simplified class to create Excel file from DataTable just Pass DataTable and Preferred location on server to generate. Call the
25 Mar 2011 by Pascal Ganaye
Deleting protected folders in Windows 7
21 Jul 2014 by Brad Joss
Search for files and folders and don't exit the search when there is an error accessing a protected folder, just skip it.
2 May 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
There will be one Link button in the GridView row. On clicking the Link button, the Image displayed in that row gets downloaded.
19 Jul 2013 by Mikhail-T
How to convert string to text file and return it back to user as a result of a controller action
7 Sep 2010 by kj-dev
Launching external application or file from Silverlight 4 (out-of-browser) using Automation Factory
19 Jul 2013 by ThatsAlok
IPC using memory mapped file in managed VC++
25 May 2010 by Ahmed Kahwaji
22 Feb 2010 by Ravi LVS
If you want to keep a downloadable file private to end users / customers with their username and password, everyone suggests not to put the file in the web root directory, and gives you a suggestion to change IIS settings and use Response.TransmitFile. When you are not having access to the...
28 Jan 2011 by Manish Choudhary .NET expert
How to merge all text files in a folder
1 Jul 2019 by Lance Roberts
A tray utility for monitoring log files and popping up error messages
18 Aug 2019 by rohitsies
CSV file generator using simplistic approach
21 Jan 2015 by Bhis
Read XML File and change date contents
9 Feb 2015 by Bhis
Various ways to sort list and compare results
29 Nov 2012 by Gareth Jensen
Tips on how to declare a class template in a header file and define a class template in a source file.
8 Jan 2015 by a.alghabban
How to use WCF to stream large file size over TCP
28 Mar 2010 by The Manoj Kumar
Did you ever face a situation where you want to read a delimited file (CSV or any similar format) and want to filter the records on the basis of some conditions (by checking some values against columns).For example, let's assume that Data.txt file contains the following...
8 Feb 2016 by Kornfeld Eliyahu Peter
Play hide-and-seek with your shared files...
3 Mar 2011 by Ed Nutting
What are the Used File Extensions
7 Mar 2014 by Partha_sarathi_ghosh
Zip or Archive and delete old log files using Windows Task Scheduler in Winrar