Old 23rd May 2011, 20:42   #1
Michael_Grumbach
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
Michael_Grumbach is offline   Reply With Quote
Old 23rd May 2011, 20:46   #2
Michael_Grumbach
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
Michael_Grumbach is offline   Reply With Quote
Old 24th May 2011, 08:26   #3
MSG
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
MSG is offline   Reply With Quote
Old 24th May 2011, 09:58   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
basic, file, textbox, visual, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump