[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

VB6.0 click the button to send the information from the text box to a txt fille!

Hello guys!

I need when i am pushing a button to send the information from text box to a txt file  .. to store to a txt file  !!



Can you help me please?
0
KingSencat
Asked:
KingSencat
  • 3
  • 2
1 Solution
 
suprapto45Commented:
Hi,

http://www.freevbcode.com/ShowCode.asp?ID=733

That may help you. Please get back to us if it does not work on you.

David
0
 
suprapto45Commented:
Please also look on how to use it.

SaveTextToFile "C:\My Documents\MyFile.txt", "Hello There"

So if you have txtTest as your textbox's name. You can do it like
SaveTextToFile "C:\My Documents\MyFile.txt", txtTest.text

David
0
 
KingSencatAuthor Commented:
Not helping at all..
0
 
KingSencatAuthor Commented:
this source i must to put at the button right ?
0
 
suprapto45Commented:
Nope,

This is the one that you need to put in your button.

SaveTextToFile "C:\My Documents\MyFile.txt", txtTest.text

Then you need to copy and paste the function from the URL to your VB as well.

Please let me know if you still have a problem.

David
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now