Solved

how to create text file using vb6.0

Posted on 2010-09-04
1
407 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tidtcpserver connection lost handle 2 69
move one pixel 4 58
Tviruailstringtree sort multi columns on header click 1 52
Hide vba in gp 7 79
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
A short article about problems I had with the new location API and permissions in Marshmallow
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

930 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

12 Experts available now in Live!

Get 1:1 Help Now