Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, November 22, 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 > Config Files
Search:
What's New - What's Hot


A quick program that will zip source code files        
Total Hits: 28  |  Today: 0 Author: Member 875909       Rating:  
Read Reviews | Write Review |   Your Rating: 

I wrote this program as an easy way to zip source files for projects that I was currently working on. I sometimes bring work home and needed an easy way to copy just the code and not the executables and DLL's to my thumb drive. I have supplied the source code (written in VB.NET) and solution. I use a very well written library located at (http://www.zlib.net) to perform the actual zipping....

File Type Creator        
Total Hits: 33  |  Today: 0 Author: Yep-ItsMe       Rating:  
Read Reviews | Write Review |   Your Rating: 

Ever since I started programming I wanted to know how to create my own file types to go along with my programs. It's actualy quite simple because VS.NET has it's own built in file types editor that comes along with your deployment projects. In this article I will show you how to create your own file types using the built in editor, how to open them with your program, and use them to open your program....

INIFile Class        
Total Hits: 278  |  Today: 0 Author: Jack Schitt.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Jealous that someone (Todd Davis) thought of it first, I was recently inspired to do some hacking of my own and put together my own .NET 2.0 INIFile class. Like Todd's, mine reads the file directly rather than relying on the Windows kernel to do it.

The INIFile class parses a .ini file into Section and Key classes upon setting its Contents property. Getting the property reconstructs the .ini file from the said Section and Key classes. The result is a parser that automatically reformats th...

Lightweight VBScript backup, with email reporting.        
Total Hits: 21  |  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...

XML File Parsing in VB.NET        
Total Hits: 167  |  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....

Making Google XML SiteMaps From Files        
Total Hits: 35  |  Today: 0 Author: Hamed_ji       Rating:  
Read Reviews | Write Review |   Your Rating: 

This application can make XML files for the Google sitemap. You need to only get the path of your web site and the URL of the site, and then save the XML file where you want....

PDF to TEXT        
Total Hits: 26  |  Today: 0 Author: RG_SA       Rating:  
Read Reviews | Write Review |   Your Rating: 

Looking around trying to find examples of how to extract text out of a pdf I didn't find much. Well there are a few but cost money. I found an example done in java and converted it to vb.net with addons and different logic. The code in this application is very un-complete and it will be eventually used in a automated process using a file watcher then extracting text out of pdf's and somehow trying to format the text then put it into SQL. I hope that some people can use this code and recommend ch...

Generating vCalendar files (.vcs) to download in ASP.NET        
Total Hits: 160  |  Today: 0 Author: Florent Boulanger       Rating:  
Read Reviews | Write Review |   Your Rating: 

Very simple to create vCalendar files, it is basically like creating text files, the only difference is the format.

In this example, a physical file is not created (no need to clean up a temp directory afterwards), the file is kept in memory using memory stream. Once the file is created in memory, it is sent for download.

vCalendar is using UTC, so the function ToUniversalTime is used to convert the local time to UTC....

Merge Landscape and Portrait PDFs using ASP.NET        
Total Hits: 51  |  Today: 0 Author: puchi007       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are situations in every business where it would be nice to have a PDF that is a combination of Portrait and Landscape printing preferences. One of the key business areas, "Billing," is always attempting to achieve this. This article shows how to create PDFs in the different printing preferences of Landscape and Portrait using the Crystal Report "Export to PDF" function, merging them into one single PDF in ASP.NET. A 3rd party COM component called CutePDF was licensed to merge the PDFs to o...

Export complete database to excel file        
Total Hits: 81  |  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....

HOW TO: Store and Retrieve Custom Information from an Application Configuration File by Using Visual Basic .NET (Q313405)        
Total Hits: 2580  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to store custom information in a configuration (.config) file that you can retrieve later during run time by its associated application. This is a helpful when you need to define data that is associated with an application.
...

File Association in VB.NET        
Total Hits: 36  |  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...

Save settings in a configuration file - for Preferences/Options/Settings box        
Total Hits: 34  |  Today: 0 Author: Perumaal Shanmugam       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article (and a module along with it) helps you to save the information in most controls in a Form, to a file (or registry with slight tweaking), and load them whenever....

Read text file (txt, csv, log, tab, fixed length)        
Total Hits: 85  |  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.<...

Very Simple Streaming Files Application        
Total Hits: 21  |  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...



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