-
Mar 14th, 2014, 11:28 AM
#1
Thread Starter
New Member
Saving text in textbox
In a Microsoft Store App how do I save text in a textbox so that it stays in the box after the app is closed and opened again? I know this can be done through Settings in a Windows Forms App, but there is no provision for Settings in Visual Basic 2013 for Store Apps.
-
Mar 14th, 2014, 12:33 PM
#2
Addicted Member
Re: Saving text in textbox
I haven't built any MS Store apps but can you just right out a txt file with key value pairs?
I think this will get you writing txt files
http://stackoverflow.com/questions/1...-to-file-in-vb
_____________
Tim
If anyone's answer has helped you, please show your appreciation by rating that answer.
When you get a solution to your issue remember to mark the thread Resolved.
reference links
-
Mar 15th, 2014, 06:33 AM
#3
Re: Saving text in textbox
Thread moved to the Modern Windows Experience forum.
Joacim Andersson
If anyone's answer has helped you, please show your appreciation by rating that answer.
I'd rather run ScriptBrix...
Joacim's view on stuff.
MVP
-
Aug 14th, 2014, 07:13 AM
#4
New Member
Re: Saving text in textbox
when uyou want to save text i textbox you have to select a controls key with strings
-
Aug 14th, 2014, 07:14 AM
#5
New Member
Re: Saving text in textbox
If you do then you can just place it inbetween the textarea tags like this...
<Textarea> Text here </Textarea>
If you want to display something from a mysql database you can just echo it
<Textarea>
<?php echo $mytextstring; ?>
</Textarea>
....with "$mytextstring" obviously being what you queried from the database.
-
Aug 14th, 2014, 09:28 AM
#6
Re: Saving text in textbox
 Originally Posted by sandeepv415
If you do then you can just place it inbetween the textarea tags like this...
<Textarea> Text here </Textarea>
If you want to display something from a mysql database you can just echo it
<Textarea>
<?php echo $mytextstring; ?>
</Textarea>
....with "$mytextstring" obviously being what you queried from the database.
I didn't know you could run PHP code in a Windows Forms App, considering that PHP is a server side technology for web pages, that's quite the feat there.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|