export

MEF: how to import from an exported object?

I have created a MEF plugin control that I import into my app. Now, I want the plugin to be able to import parts from the app. I can't figure how setup the catalog in the plugin, so that it can find the exports from the app. Can somebody tell me how this is done? Below is my code which doesn't work when I try to create an AssemblyCat...

Strange behavior in Matlab when exporting figure to eps, pdf

When I make a figure in Matlab, with a legend and a rectangle that touches the y axis (strange, I know) upon exporting the figure to eps (or pdf) I've noticed that the rectangle obtains the line-style of the last line drawn (rather than what the rectangle was drawn with) This behaviour also occurs for rectangles drawn after the one tha...

Export only new data since the last PostgreSQL database export

I have a decent sized PostgreSQL database (approx 6GB & growing). A full backup/export of the database is done every few hours via cron & pg_dump. Specifically, can I export only the changes to the database since the last export? Or perhaps run a utility that compares the two exports and appends the differences to the original, etc? I...

Using SharpSVN how can you Export a file memory instead of to the filesystem?

So I know how to export files @ certain revisions to the filesystem (because all of the overloads for Export havie paths in them) but I do not want to have to use the filesystem for ease of access purposes. Is there a way to redirect this to a string or something? Thanks. ...

Using IronRuby or IronPython to modify a list of C# objects

If I had a list of objects eg. List<Foo> where Foo has a couple of properties, could I then create one or more ironruby or ironpython scripts that run for each row. Here is some pseudo code: var items = new List<Foo>(); foreach(var item in items) { var pythonfunc = getPythonFunc("edititem.py"); item = pythonfunc(item); } I nee...

Exporting R tables to HTML

Is there a way to easily export R tables to a simple HTML page? ...

Post export SVN script, possibly with TortoiseSVN that renames exported files

Been searching and reading for this solution, but didn't find one. Or not the best one. What i would like to achieve: In our SVN Server, we will use tags as project official releases. At some point, we will export the latest tag folder, which will contain all documents that have been tagged till then for Assessment. When the export is d...

Looking for a Toad for oracle feature in mysql

Hi, Does anyone know any free tools that will generate insert statements given a result set? I know TOAD for Oracle does it, i would need this for a mysql database. For example, if I execute this query select colA, colB from mytable where colC = 'numbers'; //returns many rows |colA | colB | |1 | 'one' | |2 | 'two' | |3 | '...

MEF - How can i use an ExportProvider to select just one Export

hi, i really dont get it work. say i have some classes with the same interface which i want to export. [Export(typeof(IService))] [ExportMetadata("ExportType", typeof(Service1))] public class Service1 : IService {...} [Export(typeof(IService))] [ExportMetadata("ExportType", typeof(Service2))] public class Service2 : IService {......

Exporting Excel to C#

I have to port excel file which business guys are using to calculate final price to C# so I can later use this algorithm in Asp.Net application. This is something I will be doing not for the first time, but today it hit me. Maybe Excel can export to C#. I don't care if it will look ugly, but this is still something to start with. Is th...

Open source component or unit for exporting Delphi TDataSet to native XLS without Excel installed

Do you possibly know about the existence of a free and open sourced Delphi code to export TDataSet to native XLS format? The question was previously asked here, yet I am looking for a free solution. As observed in for example TeeChart.TeeStore.TSeriesDataXLS.SaveToStream writing a native XLS export function is not a rocket science, yet ...

Cause of SharpSVN Exceptions popping up what appears to be randomly when trying to Export? [Solved]

I know something is going on, but I cannot determine why and the Exception strings are so vague... I have no clue why some things are failing and why some are not. These execptions occur when I attempt to Export a file at a revision to the file system. Here are the exceptions: SharpSvn.SvnSystemException: Can't move 'C:....\tempfile....

How to access the report toolbar programmatically in MS-Access 97

I have a project in Access 97 that I have to add the ability to export a report to excel. When you run the report within the program there is already the ability to export to word and to excel though the excel only some of the headers. Through research I found that I might be able to get it to work using OutputTo but unfortuneately I c...

What is tsr file.

Hi, i have a requirement to export data to tsr file only. Previously we used to export to csv file. Can anyone tell me what is tsr file and what is the content format? Is the contents in someway similar with csv? ...

Exporting Entire Contents of an Access DB to Individual XML Files

I have many tables that I needed to frequently export from an MDB file to XML, and I hated going through the built-in wizard for each and every table multiple times. So, I made a macro and thought I'd post it on here. This is a community wiki post, so please add suggestions and other solutions! This will export each table into its own...

Oracle Data Pump Export script help

Hi, I'm trying to do a data pump export for metadata on a tablespace (COURSE). Am I on the right track? My data pump directory was created as: CREATE DIRECTORY dpump_dir AS '/mydata/data'; Please keep in mind that I'm a beginner. This may or may not be the best way to go about this, but I'd like to try to get this working. Thanks very ...

Zip code is dropping leading zero when displayed on excel. Export to excel from vb.net XML to XSLT transform.

I am exporting data from vb.net to excel and it is dropping the leading zero when its displayed on excel. How can I avoid the dropping of leading zero? I read the solution of adding a single quote but it makes my excel sheet column ugly. Also users will complain if they see a single quote on zip code field. vb.net code Response.AddHea...

Export to excel using report viewer and reportservices

I try to export a report as excel. I am using a report viewer control in a aspx page, the report is on a SSRS 2005 server. The report is rendered ok, I can see it in the browser, I can export it but I cannot open the xls file (neither pdf file). If I open the report directly from SSRS and export from there than the file is readable. I h...

Export CSV file in PHP

In exporting CSV file using PHP, there are some records that won't be included. It seemed like while transferring, it stopped even if there are still records to be exported. What's the problem? ...

Exporting ReportViewer to HTML

Does anyone know a way of providing an Export to HTML for ReportViewer WebForms? I know by default, Image, PDF and Excel are supported formats. I'm guessing there must be some sort of workaround to get the HTML of the report out? ...