That's all the code it takes to write to a text file. Except the line Print strStock, should be Print #1, strStock.
Unless you want to use the FileSystemObject. Then you have to write about a dozen lines to do the exact same thing. Rick Rose -------Original Message------- From: [EMAIL PROTECTED] Date: 10/22/04 09:07:14 To: [EMAIL PROTECTED] Subject: [Visual Basic 6 programming] Dear friend Will u please send me code in detail ? I m not getting what to do .. Regards Kina Jadeja ----- Original Message ----- From: Rick Rose To: [EMAIL PROTECTED] Sent: Monday, October 18, 2004 8:42 AM Subject: Re: [Visual Basic 6 programming] write it to a text file open "c:\test.txt" for output as #1 print strStock close #1 Then you can copy the text file to your floppy and print it at your leisure. Rick Rose [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links . [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To reply to this message, go to: http://groups.yahoo.com/group/visualbasic6programming/post?act=reply&messageNum=17727 Please do not reply to this message via email. More information here: http://help.yahoo.com/help/us/groups/messages/messages-23.html <*> To visit your group on the web, go to: http://groups.yahoo.com/group/visualbasic6programming/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
