Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with multiple textboxes and coding
#14
Hm. Well what you can do is ... Its kinda complicated but lets see if I can explain it.

Code:
dim reader as new system.io.streamreader(my.application.info.directorypath + "/map.ini")
dim read as string = reader.readtoend
if read.contains("TechOilDerrick") then
  my.computer.filesystem.deletefile(my.application.info.directorypath + "/map.ini")

'At this point you would need to write the RANK settings into the textfile, and somewhere in the writer options you MUST specify appendmode=true
'Then, when appendmode = true, you can then writer.write(read) and it will just add it to the end of the text file

end if

Now, I don't know how well this code would work, because I just came up with it off the top of my head, but it might give you a good idea.
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: Problems with multiple textboxes and coding - by brandonio21_phpbb3_import2 - 12-29-2010, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  multiple csv files add sql server tables via VB.NET secilsengul 1 9,500 04-16-2014, 10:27 AM
Last Post: brco900033
  Problems with dividing a string brco900033 6 21,958 10-26-2013, 07:31 AM
Last Post: brco900033
  How to write string query on multiple lines kismetgerald 1 8,481 08-29-2012, 04:01 PM
Last Post: brandonio21
  VB.Net Query Builder Problems. Moldraxian 2 11,055 08-17-2012, 05:33 AM
Last Post: Moldraxian

Forum Jump:


Users browsing this thread: 1 Guest(s)