Advertisement

Results for "Category: Files"

ASP_Volume2 #44078
Sample notepad

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

ASP_Volume2 #44108
How to read a .txt file in vb.net

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

ASP_Volume2 #44241
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

ASP_Volume2 #44242
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

ASP_Volume2 #44244
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.

ASP_Volume2 #44246
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.

ASP_Volume3 #44544
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!).

ASP_Volume3 #44964
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.

ASP_Volume3 #45501
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.

ASP_Volume3 #46163
Application Configuration Files

How to use Application Configuration Files.

ASP_Volume3 #46164
Managed IniFile Class

Accessing IniFiles without the use of the Win32 API's

ASP_Volume3 #46165
File Watcher

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

ASP_Volume3 #46222
EXE Header Info

Get .exe file header info

ASP_Volume3 #46871
encapsulate Memory Mapped Files

Memory mapping is a powerful mechanism Win32 provides to implement shared memory and also to access files though a simple memory pointer without having to implement your own home brewed buffering mechanisms. As an example its as simple as calling void* lpData = mmf.Open(); CharUpperBuff((char*) lpData, mmf.GetLength()); to convert a file (of any length) to upper case. Areas where you might find this of interest include very large database files with fixed records, audio processing, string operations and image processing. The other side of memory mapped files is to implement shared memory. As you will probably know, Win32 puts each process into its own address space, thus making it impossible to pass ordinary pointers across process boundaries. With memory mapped files you get back this very useful mechanism. The enclosed zip file contains the CMemMapFile source code and a simple dialog based application which demonstrates all the functionality of the class. For further details about the example program have a look at the BOOL CTestmemmapApp::InitInstance() function and the CDialog1 member functions both in testmemmap.cpp PJ Naughter at http://indigo.ie/~pjn/index.html

ASP_Volume3 #47149
ftp file

Copy a file from a LAN to UNIX and vice versa.

ASP_Volume3 #47370
File / Directory Viewer

This Will Display All The Files, File Size and file date of every file in the directory you specify. To make this work, paste the code into your favorite html editor, save it and then view it.

ASP_Volume3 #47403
Active Directory Browsing (with Download 'Credits'!)

This code allows a user to - Interactivley explore an area of your computer. - Download files based on a database containing 'credits'. One specifies how many files (credits) one may download and link that to a password (or use -1 for unlimited).

ASP_Volume3 #47469
Streaming MP3's

This Code when put in any directory will create a HTML page listing all Mp3's in the directory. It also creates a streaming link to the file, so anyone can stream off you MP3's from your server withour downloading them.

ASP_Volume3 #47519
File Size

This code shows the size of any given file in bytes,K/bytes and M/bytes....

ASP_Volume3 #47920
SaJ

SaJ is a program for Spliting And Joining Files. I have tested it on win98/2000 and xp. The Split/Join Function is running on a seperated thread and in a low cpu-priority. This, prevents the form from freezing and also it enables to cancel the operation at any time... SaJ is competible with other split\join programs like hjSplit...(considers very popular..) I will be glad to here any comments or bugs reports!! :-)

Languages
Top Categories
Global Discovery