How to create, read and write an INI file from Visual Basic 6
Tutorial Details:
AndreaVB OnLine
Hello y'all. It's a long time that in the italian VB newsgroups periodically appears a thread asking how we can write and read the INI files. I always post the same solution: two little functions of mine, that belong from a code I found somewhere in andreavb.com.
My answer is always the same - and often they give me the same grateful reply - but threads expire after some time in newsgroups, so I'm afraid one of these days I can't post anymore the bare tinyurl link to the thread I spoke into, and I have to write another explanation of the whole stuff.
So I decided to post this article here: to put my functions and explanations in a not-expiring place. If one day my previous threads will be lost, I will tinyurl the link to this page (and then, my italian friends would be better start speaking english, ehehehe).
So, in order to create, read and write an INI file, copy the two routines below in a module.
INI files are made of sections, which names are enclosed in square brackets into the file (you could open one by the Notepad.exe to see how it is made), and several keys for each sections. Take note that there is no space before equal sign of the key, nor after it: the format is KeyName=Value. In the routines below you have to specify the section, and the name of the key to read/edit in that section.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Visual Basic Introduction to Visual Basic Managing INI files Tutorial
View Tutorial: Visual Basic Introduction to Visual Basic Managing INI files Tutorial
Related
Tutorials:
Product Review:
Kawa 4.0 -
JavaWorld June
2000
Product Review:
Kawa 4.0 -
JavaWorld June
2000 |
Use Microsoft's
Internet Information Server as a Java servlet engine -
JavaWorld June
2000
Use Microsoft's
Internet Information Server as a Java servlet engine -
JavaWorld June
2000 |
C# : A language alternative or just J--? (part1)
C# : A language alternative or just J--? (part1) |
Master Java with these introductory books - JavaWorld May 2001
Master Java with these introductory books - JavaWorld May 2001 |
Best tools for
mobile application development
Best tools for
mobile application development |
Datastructures and algorithms, Part 1
Datastructures and algorithms, Part 1 |
The Java Web Services Tutorial
This tutorial is a beginner\'s guide to developing Web services and Web applications using the Java Web Services Developer Pack (Java WSDP). |
Excellent
tutorial on Struts and Tiles
Excellent tutorial on Struts and Tiles
This tutorial assumes knowledge of Java, JDBC, Servlets, J2EE (with regards to Web applications) and JSP Struts in a holistic manner, minus the beads and crystals.
The Tiles framework makes creating reusable pages |
Impressive
!
Impressive
! |
a-visual-llk-parser-generator VisualLangLab
a-visual-llk-parser-generator: VisualLangLab
A Visual IDE-Style LL(k) Parser Generator that uses an editable tree with icons for tokens and non-terminals to represent the grammar symbols and grammar rules.
|
Eclipse plugin
eva/3 Application Builder
for visual development and database management
Eclipse plugin eva/3 Application Builder for visual development and database management. |
java-synaptics
java-synaptics
Introduction
java-synaptics is a library which gives Java developers direct access to Synaptics TouchPads and other Synaptics human interface devices. java-synaptics is currently at release 0.1, the initial release, and can be considered |
Java Beans, Part 1 Introducing Java Beans
The basic idea of the Beans tutorial is to get you to the point where you can quickly create beans. You may want to write new beans from scratch, or you may want to take existing components, applets, or other classes and turn them into beans. |
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a ... |
The JavaTM Web Services Tutorial
A beginner's guide to developing Web services and Web applications on the Java Web Services Developer Pack |
JavaServer Pages Technology - Documentation
Sun's tutorial for Java Server Pages that provide a good introduction to design web pages with JSP. |
Open Source Web Frameworks in Java
Open Source Web Frameworks in Java
Open Source Web Frameworks in Java
Struts
Struts Frame work is the implementation of Model-View-Controller (MVC) design pattern for the JSP. Struts is maintained as a part of Apache Jakarta project and is open |
Submit project to get developed
Submit project to get developed
T his page contains answers to common questions handled by our support staff, along with some tips and tricks that we have found useful and presented here as questions.
How do I Submit my Project ?
Who can submit a |
Parisonz Solutions!
Parisonz Solutions!
W elcome to Parisonz Solutions . The purpose of this web is to Develop and Distribute Projects to Businesses and Individuals though Web. We have a wide range of projects completed online — including software development, web |
Building Search Engine Applications Using Servlets !
Building Search Engine Applications Using Servlets !
Building Search Engine Applications Using Servlets
Please visit http://www.webappcabaret.com/javadevelopers/search to see running copy of our search engine.
Introduction
This tutorial takes |
|
|
|