Advertisement

Results for "Category: Files"

3_2004-2005 #148887
Saving and Loading Data with Serialization -- cooooool

Save entire classes or structs at a time to an xml file, and then read them back.

3_2004-2005 #148892
A Winsock File Transfer example for VB.NET (and it works! :) Clocked at 1Meg/second over 10mBit LAN

This code (the first of its kind in the VB.NET section of PSC) will allow you to quickly and easily send a file over dialup, LAN or BroadBand. Works fine, and all the programs that i tested it on (from 20k to 200Meg worked fine after the transfer!) If you have a brief knowlage of file manipulation, this should be pretty simple to understand.

3_2004-2005 #148893
File Functions: Read from file on disk / Create file on disk

This code simply writes to a file on the disk, or reads the contents of an existing file on the disk into a text box.

3_2004-2005 #149128
File System Watcher

This piece of Code watch for the changes in the specified folder. Changes may be of any kind like renaming file/folder, deleting, editing etc. Actually implemented a class of FileSystemWatcher.

3_2004-2005 #149240
Create Excel Spreadsheet without Excel

Create Excel Spreadsheet without Excel automation. A port from vb6(enclosed) by Paul Squires at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11898&lngWId=1

3_2004-2005 #149263
Download String as File

This may seem simple but I didn't find anything like this anywhere and I thought I should add it so it will help others. This artitle is to show you how to send a string variable as a downloadable file in asp.net.

3_2004-2005 #149278
CopyFileEx

Using the CopyFileEx Win32 API in C#. Try my CopyEx library and please give feedback. Choose a file as a source and copy it to another place. You will have the current transfert rate in Ko/s and percentage of the file done. Very easy to use. You could implement Cancel, Stop and Continue or Thread priority options...

3_2004-2005 #149370
AppConfig Writer class

Ever wanted to use .config files but hesitated because you were not able to write to them? This class allows you to easily write and read from .config Files. The class works (thanks to reflection) both in debug and release mode without any changes. Because the default .config Provider will not reload any configuration without reloading the application this feature is also implemented via a filesystemwatcher that looks for changes on the app.config file. The original implementation can be found on www.angrycoder.com developed by Joel Martinez in C#. Visit www.visualsoft-net.de to download this code and much more vb.net, vb6 and c# samples

3_2004-2005 #149375
Sample notepad

This sample code show beginner how to use OpenFileDialog and SaveFileDialog with TextBox.

3_2004-2005 #149405
How to read a .txt file in vb.net

Just to show how to read a txt or .dat file in vb.net

3_2004-2005 #149538
All file and directory operations

The Tutorial aims at acquainting beginners, of each and every file and directory operations. I have given my main emphasis to reduce complexity and length of code. I am sure you will find it useful. "Please Vote". ;-) Kart

3_2004-2005 #149539
Advanced File Fuctions

The Tutorial set sights on Accustoming VB Net Developers with sophisticated File Functions. However main weight is rest on Reducing Code complexity. I strongly believe Code that is easy to Understand works better. I am sure you will find it useful. Please Vote and Make my day ;-) Karthik

3_2004-2005 #149541
Save Embedded Resource to File

To save an Embedded Resource and save to file. This will take any embedded resource and save it to any filename you want.

3_2004-2005 #149543
Associating file extension to Your Application in .NET

Associating file types(file extension) to Your Application in .NET.This concept had been tedious or complex process in the past for programmers. But with .NET this has been made easy and flexible.You can associate a new file type (extension) or an existing file (like gif,jpg,bmp etc) to your application easily. you can refer http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vbtskaddingdeletingdocumenttypesassociatedfileextensions.asp for understanding.I have submitted an example of how to do this. This is photo viewer .If you install this project,you can open the existing GIF files with this program in your system.You can also associate JPG,BMP and other types also.

4_2005-2006 #149841
Easy to Integrate ASP File Upload Class with status info

UPDATED 03/JAN/2010: This is a file upload class with a demo page. Very easy to integrate into existing projects, it only requires three steps. The code is nicely commented and formatted. I've also added JavaScript code that disables the Submit button and shows an image and message informing about the upload. If you use Norton AntiVirus you will need to disable your Script Blocking for the file writting to work. The code can support uploads of up to 2GB or so, but I've only tested it with files of up to 30MB. It also supports the configuration of allowed extensions for more security. If you like this code, please vote. Last Update: Added code that takes care of a IIS vulnerability involving semicolons in file names (extremely important!).

4_2005-2006 #150261
Replace Browse Button in Form element Input type="file" with any image

Replace ugly browse button with any image in form element inpu type="file". This is good in form which purpose is uploading pictures.

4_2005-2006 #150798
ASP Procedure Used To Recurse Through All SubFolders Of Any Given Path

Use it to recurse (walk-through) every sub-directory of any given path. Use it to find a file or list all files in any given path.

4_2005-2006 #151460
Application Configuration Files

How to use Application Configuration Files.

4_2005-2006 #151461
Managed IniFile Class

Accessing IniFiles without the use of the Win32 API's

4_2005-2006 #151462
File Watcher

This example shows a way to use the System.IO.FileSystemWatcher object.

Languages
Top Categories
Global Discovery