Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

how to create text file using vb6.0

Posted on 2010-09-04
1
412 Views
Last Modified: 2012-06-27
Hello experts

How can i create csv file and write data from vb application ?

In a form have 20 text boxes (some for text and some for numbers) and one command button

Now click event on button, i want to create csv file and rename it same as value from text1.text.

Please assist me , how can i do that

Thanks


 
0
Comment
Question by:crystalsoft
1 Comment
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 250 total points
ID: 33603765
Something like:
Open Text1.Text For Output As #1
Print #1, Text2.Text & "," & Text3.Text & "," & Text4.Text & "," & Text5.Text & "," & ...
Close #1

Open in new window

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question