![]() |
#1 |
Junior Member
Join Date: May 2011
Posts: 2
|
Write data from VB Textbox to File.txt
Hi,
I'm using MSVS 2008 Web Developer, and have added a textbox to a page. Some VB code runs when a visitor clicks a button on the same page, and relevent data is placed in the textbox. I want to write this data to a text file, which is then installed to the correct location, as directed by the installation .exe Thanks, Mike |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: May 2011
Posts: 2
|
The Quesiton...
So, my question is how to I get to that data in the textbox?
I thought that I could write to a file in VB, and install the file with the installer. But I'm not sure that will work. It sounds a little klunky, and i thought that there was probably a slicker way to accomplish this. Thanks, Mike |
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
What kind of textbox are you talking about? On a webpage? What does that have to do with NSIS installers? o__O
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
One way would be to append the data to your installer executable before it is downloaded. http://nsis.sourceforge.net/ReadCustomerData to read it. You can write the file using FileOpen/FileWrite/FileClose.
Stu |
![]() |
![]() |
![]() |
|
Tags |
basic, file, textbox, visual, write |
Thread Tools | Search this Thread |
Display Modes | |
|
|