flat

How to Read Schema of Flat File using Reflection in C#

How to Read Schema of Flat File using Reflection in C# The brief overview that I have is- There's some server which is storing the data as flat files and I have to push data from SQL Server to these flat files. For that I need to know their schema. I have no idea about this, any help would be great. ...

What is the best way to edit the middle of an existing flat file?

I have tool that creates variables for a simulation. The current workflow involves hand copying those variables into the simulation input file. The input file is a standard flat file, i.e. not binary or XML. I would like to automate the addition of the variables to the flat input file. The variables copy over existing variables in...

Flatten Linq to XML query result from dynamic data

In a database the data is stored dynamically. That means the metadata defines classes and attributes. The user data is stored in object and object attribute tables. To simulate how the data is represented, I created a linq query in LinqPAD: XElement test = XElement.Parse ( @"<DynaDaten> <CLS ID='99' CODE='T_PERSON' NAME='T_PERSON...

Many to one join help for flat file

I’m not sure if this has already been asked – I looked around for quite a bit but couldn’t find anything. My end result is to get data from several of my SQL database tables into a comma delimited flat file. Normally this would not be a problem but due to their many to one relationship and the format I’m forced to put it in it’s proving...

How to generate a flat map of earth with day/night highlighting?

Does anybody know of an easy-to-use, FOSS equivalent of the program generating this 'live' colored, earth map. Alternatively, equally appreciated would be enough pointers on the logic, API, and data to use to write such a program on my own in Java or C? What I Basically Want I need to be able to generate a picture for my space-time c...

Java: Most efficient way to store/retrieve workout information from a file?

I'm working on a Java project for class that stores workout information in a flat file. Each file will have the information for one exercise (BenchPress.data) that holds the time (milliseconds since epoch), weight and repetitions. Example: 1258355921365:245:12 1258355921365:245:10 1258355921365:245:8 What's the most efficient way t...

wpf flat button

How ma make a button flat style in wpf? I've tried BasedOn property but it does not work. ...

Paginate text file with PHP

I have a small script that displays blog posts from a text file, how can I add pagination so that it only shows 5 blog posts at a time? Here is the script: <html> <head> <title>blog</title> </head> <body> <?php $mode = 0; if ($mode == 0) { $opFile = "blogfile.txt"; } $fp = fopen($opFile,"r") or die("Error Reading File"); ...

FlatWorm Or Fixedformat4j

Can anybody share their views on whether to use Flatworm or Fixedformat4j for fixed length file parsing . The pros and cons between them. I have to adopt one of the two in my product ...

10cent per product tax magento

I would like to apply a flat 10 cent per product tax to my magento store, is there a way to set this up within the system already? ...

Building Python libraries on a Mac and experiencing flat namespace errors

As a general rule, I rue the days whenever I have to build Python libraries on a Mac. I've generally had fairly good success using Boost::Python, and if I use distutils, most of the time everything works correctly. However, I've never been able figure out the exact combination of what works/what doesn't work. Specifically, I've often ru...

Storing Exceptions in flat file

Hi, In any application, we can do error logging using flat file system. How do we handle a scenario when there are multiple users having exceptions which are logged in the same flat file? Many Thanks. ...