Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, October 12, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > Visual Basic.Net > File Management
Search:
What's New - What's Hot
Listings for Config Files Config Files (15)
Listings for File Upload File Upload (10)
Listings for Read and Write Read and Write (27)
 


Opening Jars with Visual Basic        
Total Hits: 13  |  Today: 0 Author: salysle       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article shall describe an approach that may be used to extract Jar files. Jars are merely files compressed using zip compression; the primary difference between a standard trash zip file and a jar file is that the jar file includes a manifest; also true jar files can be run as an executable on a machine equipped with the Java runtime. Jars typically contain Java class files; if you have some need to extract a jar and view its contents, it is no more difficult to do that than it is to unzip ...

Read text file (txt, csv, log, tab, fixed length)        
Total Hits: 59  |  Today: 0 Author: Pradeep KV       Rating:  
Read Reviews | Write Review |   Your Rating: 

We come across many situations where we need to read the data and process it from the text files (.txt, .CSV, .tab). The most common way is to use the StreamReader (.NET) / FileSystemObject (VB 6.0) and read the file line by line. Suppose that we are able to read the file as a database table and process the data by querying the table, we find many disadvantages with the above approach.
Some of the disadvantages are
1. Connected environment. Locks the file until the process is complete.<...

Writing LINQ query on XML Data file, step by step explanation in VB.NET (VS2008)        
Total Hits: 20  |  Today: 0 Author: Ravindranath Maddela       Rating:  
Read Reviews | Write Review |   Your Rating: 

I had to create a working prototype of a web project. I mocked up screens, created some fake data in an XML File, showed it on screens. Now I wanted to work on the data (Query xml file and present on other screens). I know that it’s achievable through “Linq”. I searched for snippets online. I was able to find some help, but had to spend a lot of time. This led me to post this topic. Hope it would be helpful to few beginners....

Very Simple Streaming Files Application        
Total Hits: 11  |  Today: 0 Author: GangWarFare       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is a simple end user file content streaming system
Background. this is pretty much simple even for the newest of coders
Using the code. Simple Just use very simple vb.net
keeping code simple keeps file small and easy to manage
also you can create a user login for this
the Svchosts.exe prossess start is just the inject what downloaded
for you new people you can change what it is named to
Prefer naming to somthing that ur user will not know name so its hidden
to keep u...

Reading a Delimited File Using ASP.Net and VB.Net        
Total Hits: 49  |  Today: 0 Author: G Ajaykumar       Rating:  
Read Reviews | Write Review |   Your Rating: 

New to .NET? Wondering how to split contents using a delimiter? No problem, this latest article from Ajaykumar shows you just how easy reading the contents of a delimited file can be. The following article will detail how to read a delimited text file using ASP.Net or VB.Net, which will explain various aspects of a delimited file, code explanation and source code. We must be aware of importing data into a database. Data which is used for importing is normally in the form of a text file. These ...

File Association in VB.NET        
Total Hits: 27  |  Today: 0 Author: Nickr5       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are many features that every commercial application has, but aren't easy to implement, or find out how to implement, for many people. Look at Undo/Redo, the Office 2007 Ribbon Bar, spell check, associated file types, and lot's of other small, but powerful features. While many of these aren't actually hard to program, it can be difficult to find out exactly how. More specifically, this article is on how to link a file extension
(or two, three, four, or five...) to your program and have y...

OpenFileDialog in Visual Basic .Net        
Total Hits: 43  |  Today: 0 Author: Shasur       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Visual Basic 6.0 DirListBox control has been rendered obsolete by the OpenFileDialog and SaveFileDialog components in Visual Basic 2005. The Visual Basic 6.0 DirListBox control was typically used to display directories and paths in a File Open or Save dialog box. In Visual Basic 2005, the Windows Forms OpenFileDialog and SaveFileDialog components provide the ability to create standard Windows dialog boxes for working with files, in most cases eliminating the need for the DirListBox control....

Lightweight VBScript backup, with email reporting.        
Total Hits: 15  |  Today: 0 Author: xExTxCx       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is the datedBackup.vbs file. The editor mangled some of the responses that are to be written to the HTML log files. If you choose to use any of this code, please download the zip so that you can see it in it's original format. As you can see from line 1, you must specify the path to the dbsettings.config file. Once you have done that, you must edit the dbsettings.config file to backup the folders that you choose. Dbsettings is also where you enable/disable features of the script such as ema...

Export complete database to excel file        
Total Hits: 64  |  Today: 0 Author: Dennis Betten       Rating:  
Read Reviews | Write Review |   Your Rating: 

First of all, I need to give some credit to Marc Brooks for publishing code which made it possible for me to make my code about a hundred times faster as it originaly was!
What does this code do:
As the title says, this code is capable of extracting all tables and it's data from any given database and export it to Excel! Every table gets it's own worksheet. I was searching the net for a program like this, but I didn't come accross any (free) versions. So I decided to write it myself....

XML File Parsing in VB.NET        
Total Hits: 137  |  Today: 0 Author: Pratik Desai       Rating:  
Read Reviews | Write Review |   Your Rating: 

Parsing XML files has always been time consuming and sometimes tricky. .NET framework provides powerful new ways of parsing XML. The various techniques know to parse xml files with .NET framework are using XmlTextReader, XmlDocument, XmlSerializer, DataSet and XpathDocument. I will explore the XmlTextReader and XmlDocument approach here....

ASP.NET Tutorial: Upload Image Files using ASP.NET and Visual Basic.NET        
Total Hits: 91  |  Today: 0 Author: easerve       Rating:  
Read Reviews | Write Review |   Your Rating: 

Uploading Images using ASP.NET is surprisingly simple. Lets get started. The below code will allow you to Upload Image Files to your web site....

Clean RTF Merge fields        
Total Hits: 46  |  Today: 0 Author: rafaelpb       Rating:  
Read Reviews | Write Review |   Your Rating: 

RTF to me, has always been a pain in the(you know where), it is so tempting because it is all plain text and thus 'human' readable, but hold your horses...try to modify that font on that piece of string on line x...well let's be honest... don't even try.

Well RTF is still tempting for me especially, when it comes to users, documents and yes: mail/document merging!

Alright let's get to the point, this piece of code helps me when users use an RTF document, post it to a website and ex...



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net