-
February 11th, 2014, 08:01 PM
#1
I need you help Talents .. Please
Hello every one
I need your help please talents
I have ms vb 2012
Lets say i need to make a simple project that i need to update data in a text file
lets say in the project i have
textfiled 1
testfiled 2
textfiled 3
and a botton called update
when i push text in the textfiles and press update , i need the external textfile.txt to be updated with the new values each value in a separate line
but also i need the data to be like this way
for example for textfiled 1 to write data to the textfile like this (fixed text like " &t1=" ) then the text written in the textfiled 1
so the final data that will be updated in the text file will be like this way :
&t1=text from textfiled 1
thanks a lot
Regards
-
February 12th, 2014, 11:19 PM
#2
Re: I need you help Talents .. Please
So, what's the problem? Write some code and see what happens.
-
February 13th, 2014, 01:53 AM
#3
Re: I need you help Talents .. Please
In a case such as this ( you using VB 2012 ) it is extremely important to let us know for which platform you are making this app for. is it for the Window Store, or a Desktop application? There is a major difference in file handling between the two.
-
February 13th, 2014, 05:51 AM
#4
Re: I need you help Talents .. Please
THANKS ALL
i`m building this application for windows 7 desktop as an exe file , not for mobile or other , windows 7 for desktop computer as exe file, sorry i`m new to vb , if you please to send me a sample project to download . .
regards
-
February 14th, 2014, 08:18 AM
#5
Re: I need you help Talents .. Please
We will not do everything for you, because that is not how it works around here. What have you done so far?
-
February 15th, 2014, 08:46 AM
#6
Re: I need you help Talents .. Please
Well first off you do not update a text file of this sort. You write it, then you overwrite it to make a change, always writing the entire file even if only one line has changed.
I would suggest that you look at the system.io.streamwriter class and the WriteLine method within that class then see how far you can get.
Always use [code][/code] tags when posting code.
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
|