Question

Locked

VB6

By ali.n ·
I have an application where data is displayed to a datagrid from Access Database. I would like to output the data to ms excel file and also to a text file. How can this be done in Visual Basic 6?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

ADO

by onbliss In reply to VB6

Use ADO to open Excel and text files. Use the appropriate drivers. Then you can write the datagrid contents to these file. If you do not have the recordset containing the data, create one from the grid and write it out to the desired file.

Back to Software Forum
1 total post (Page 1 of 1)  

Related Forums