How to convert .eap file? - uml

I have a situation here:
I have a .eap file and i have a tool available i.e., StarUML. I need to import the .eap file contents into StarUML.
Basically, i need to know how can i convert the .eap to some format to import into StarUML.(StarUML takes .mfg and .xmi as import)
Thanks in advance.

The .eap files I'm familiar with are Enterprise Architect.
There may be another approach, but I suspect you'll need to get a copy of EA and open your file. Whatever models it has in it, open each and right click on the model, you'll see an Import/Export menu. You can then export .xmi format.

You can open and edit eap files with MS Access.
For EAP files created in EA version 12.1 it is Access 2007.
Here is an overview of the internal structure.

Related

Re-zipping an MDzip file

A client of mine is going through the process of migrating their Magicdraw models to Enterprise Architect.
Because of some issues in transferring the models we wanted to unzip the mdzip files, change the xmi contents, and then rezip them in order to import them into EA.
But for some reason that doesn't seems to work. Even without changing anything to the contents, just unzipping and rezipping the file and then trying to import it into EA we get "analyzing mdzip file" for a few seconds and then it stops.
I'm suspecting that we are using the wrong zip settings to rezip the file.
Does anyone know which settings we should use to produce a valid mdzip file that can be imported into Enterprise Architect?
I tried asking both NoMagic support as Sparx support, but no answer yet.
My fault was that I was re-zipping the folder and not the individual files, so the resulting zip file had a different structure.
Something I should have seen a lot sooner of course; a typical case of PEBKAC.
Zipping the individual files worked like a charm.

How to open spss data files in Excel?

I want to open spss .sav data files in Excel without opening the spss files (I don't want to convert spss data file into Excel file). I know this is possible using OLDB connection, but I don't know how to do this.
I converted sav to csv online: http://pspp.benpfaff.org/
(Not exactly an answer for you, since do you want avoid opening the files, but maybe this helps others).
I have been using the open source GNU PSPP package to convert the sav tile to csv. You can download the Windows version at least from SourceForge [1]. Once you have the software, you can convert sav file to csv with following command line:
pspp-convert <input.sav> <output.csv>
[1] http://sourceforge.net/projects/pspp4windows/files/?source=navbar
In order to download that driver you must have a license to SPSS. For those who do not, there is an open source tool that is very much like SPSS and will allow you to import SAV files and export them to CSV.
Here's the software
And here are the steps to export the data.
I help develop the Colectica for Excel addin, which opens SPSS and Stata data files in Excel. This does not require ODBC configuration; it reads the file and then inserts the data and metadata into your worksheet.
The addin is downloadable from
http://www.colectica.com/software/colecticaforexcel
You can do it via ODBC. The steps to do it:
Install IBM SPSS Statistics Data File Driver. Standalone Driver is enough.
Create DNS via ODBC manager.
Use the data importer in Excel via ODBC by selecting created DNS.
You can use online converter, developed by me at N'counter.
This is the easiest way to open SPSS file in Excel.
1) You just have to upload your file to SPSS coN'verter at https://secure.ncounter.de/SpssConverter
2) Select some options
3) And your converted Excel file will be downloaded
No information about your file contents is retained on our server. The file travels to our server, is converted in-memory, and is immediately discarded: We don't peer into your data at any time!
I tried the below and it worked well,
Install Dimensions Data Model and OLE DB Access
and follow the below steps in excel
Data->Get External Data ->From Other sources -> From Data Connection Wizard -> Other/Advanced-> SPSS MR DM-2 OLE DB Provider-> Metadata type as SPSS File(SAV)-> SPSS data file in Metadata Location->Finish

c# creating msc file

How can I create *.msc file? I see a lot of articles about creating snap-in's.
My goal is to create msc file so people can double click it and bring defined snap-in
Thanks
open the MMC and import your snap in from
FILE>Add/Remove Snap
then
File>Save As
you get what you want. BTW, you could rename the console, change icon.. in the
File>Options

How to access a excel file in CF8?

How to read an excel file from cfm page?
That depends on what you want to do. If you simply need to upload the file, you can use the cffile tag (CF8 documentation here).
If you want to extract data from it, you may want to look at Ben Nadel's POI Utility CFC. (Note that it's not been updated since the release of CF9 because of the introduction of the cfspreadsheet tag in that version of ColdFusion.)

Possible to create thumbnails of MS Office files?

Have anybody ever tried to create thumbnails/previews of MS Office files? I do not mean extract saved preview images inside the file, but actually create them. Would this even be doable?
Could one print to an image/pdf directly in code?
In a general VB/C# application, add the MSword/MSexcel component and call the component to open the file you want. Then call one of the print functions with the parameters corresponding to first page etc.
This link shows how to open a .xls from C#

Resources