Solved

how to create text file using vb6.0

Posted on 2010-09-04
1
406 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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
This is an explanation of a simple data model to help parse a JSON feed
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now