(newbie - VB2005) writing to file



Hello,

I give up .... probably I'm too stupid to understand but I cannot figure out how to write a string to a certain place in a file.

This is what I like to do:
Somewhere in a file is a section called '[settings]', every time the application is opened there is a veryfication to see when it was the last date/time it was running, by reading the very first line under '[settings]', and if the date is responding to other settings in the program, the program will run otherwise it stays closed. If it may run, the new rundate is written to the same place.
That's what I intend to do.
But I cannot find out how to write to that specific location. This location can be anywhere in the file, but always under the section name.

Sorry, but I cannot explain this better, I'm not English ... I hope you guys (and girls) can undestand what I like to do. After 2 whole days of trying I give up :-)

Many thanks in advance.

Opa Vito
.



Relevant Pages

  • Re: obski: real skiing
    ... So you DON'T have any sources to support your claim that English ... got 293,000,000 hits. ... "Tai Chi is only for stupid old people." ... power of Taichi went in that far already. ...
    (rec.skiing.alpine)
  • Re: My ending remarks with LT Lee since he refused to continue with his 20 questions on my English c
    ... never can anyone to find such a stupid liar, ... even that is not in such a detailed map, this liar is still there were ... kept this post up to show what a chicken and a poor English LT Lee ... Complaints to n...@xxxxxxxxxxxxx Hide quoted text - ...
    (soc.culture.china)
  • Re: Letter to US Sen. Byron Dorgan re unpaid overtime
    ... put them in stupid places. ... Programming is difficult (as you must surely appreciate, ... > strings will be in the range 1...1000 characters. ... impose an artificially small limit on string length." ...
    (comp.programming)
  • Manny stuff for Tom - no waterway content here, folks!
    ... The sad thing is that most of the English ... immigrants, changing irrevocably and abusing our island, have no ... The English are fine in their own country and integrating when away ... I am not stupid. ...
    (uk.rec.waterways)
  • Re: Opinions on this code please guys....
    ... to see if the string writes off the end of the buffer. ... there's no check for error (or even EOF) which is quite ... This is allso undefined behavior and stupid. ... Even the above is horrendously ineffiient and stupid. ...
    (comp.lang.cpp)

Loading