G'day Arjang! It's a config file for a legacy system which I have no control over. As a favour to a friend I created a simple winforms UI allowing them to enter some values, do some calculations and then insert them into the file at particular positions.
I ended up going with Michael Minutillo's .NET 4 suggestion- that worked well. I will be looking into T4 and the other stuff Michael mentioned also since that stuff sounds pretty cool. Cheers. Bec On Tue, Feb 8, 2011 at 2:03 PM, Arjang Assadi <[email protected]> wrote: > What is the real problem that a solution to it consists of putting > certain values (after computing them) in very lage file? > > Need more info for a meaningfull solutions. > > Regards > > Arjang > > >> various spots in a very large text file > > On 7 February 2011 10:21, Bec Carter <[email protected]> wrote: >> Good mornin' all! >> >> I've a requirement to put certain values (after computing them) in >> various spots in a very large text file. So basically the starting >> text file can have placeholders where these computed values will end >> up- like a template. Then my code will compute some values based on >> user input and i need to fill in the placeholders. >> Is there a better way to do this besides a simple string replace? >> >> Cheers. >> Bec >> >
