11
März
2010

BUG: “Old format or invalid type library” error when automating Excel

von Andreas Bruckner | 0 Kommentare »

Although my OS is english (!) version, running the english (!) version of Office, I get an error when opening an Excel workbook via COM. The error message doesn’t help locating the real problem:

Because my locals are german, and the Office Multilanguage Pack is not installed, Excel tries to locate the german language pack and fails.

Solution: set your application’s CurrentCulture to en-US, and it work’s like a charm!

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
11
März
2010

Die Vorteile von C# 4.0

von Andreas Bruckner | 0 Kommentare »

Hier eine Kurzzusammenfassung der aus meiner Sicht wichtigsten Neuerungen in .Net 4.0 bezüglich COM:

1) COM (interops)
Endlich wird es möglich sein, eine interop für z.B. Excel 2003 einzubinden, und das Programm auch für Office 2007 laufen zu lassen. Bislang mußte auf Fremdkomponenten zurückgegriffen werden, oder LateBinding benutzt werden. Bei längeren Codes bricht man sich dabei schon mal die Hände.

2) Optionale Parameter
Ebenfalls in Bezug auf COM eine wesentliche Erleichterung. Beispiel: öffnet man ein Excel-Dokument, benötigt dieses 13 Parameter. Ich benötige aber nur den 1. (FileName). Die restlichen Parameter mußte ich bislang mit Type.Missing auffüllen.
In VB geht das wesentlich einfacher von der Hand, daher benutze ich dieses gerne für die Office-Programmierung.

3) Named Parameter
Ebenfalls in VB.NET schon längst bekannt, jetzt auch in C#: Excel.Open(filename:”test.xmls”)

4) Parameter “dynamic”
Die Typzuordnung erfolgt erst zur Laufzeit. Damit sind Typkonvertierungen oder Reflection bei COM nicht mehr zwingend.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
10
März
2010

LieberLieber AMUSE – Requirements

von Andreas Bruckner | 0 Kommentare »

Since anouncing the release day of the new LieberLieber AMUSE add-on for Sparx Systems Enterprise Architect, a lot of incoming mails concern one central question: What are the requirements for using AMUSE?

So here is the standard answer:

  1. MS .NET Framework 2.0
  2. Enterprise Architect 7.5.840 (System Engineer, Ultimate)
  3. A valid license (at least for a trial period)
Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
10
März
2010

Windows Phone 7 Sessions :: Microsoft MIX10

von Christian Zauner | 0 Kommentare »

 

Microsoft hat mittlerweile die Sessions auf der MIX10 Seite announced, die sich mit Windows Phone 7 beschäftigen werden.

Insgesamt nichts wirklich Unerwartetes – Silverlight ist als tag bei den jeweiligen Sessions häufig vertreten :-)

Sessions :: Microsoft MIX10

Wir werden leider nicht auf der MIX10 sein, weil Daniel und ich am 16.3. in Innsbruck auf den BIG>DAYS 2010 sein werden. Wer bitte braucht schon Las Vegas ;-)

Vor allem, weil wir uns schon auf viele nette Gespräche – vor allem auch mit Euch, liebe Leser unseres Blogs, schon sehr freuen!!!

Folgend seht Ihr die Themen, die Euch auf unserem Stand erwarten!

image

 

   

 

    <- Click 2 be able to read it!

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
09
März
2010

LieberLieber AMUSE – Usage Example

von Daniel Siegl | 0 Kommentare »

In yesterdays Video Tutorial we showed a pretty simply State Machine that was automated by AMUSE – one of our other Sample is the Traffic Light State Machine first shown on Teched in Berlin.

image

When we built this sample it was very interesting that the Actual control of the LED’s was not a Problem for Rizo and Alex two of our Senior Dev’s. Yet it took them a while to have the model right! – When watching them build the Demo I could really see how this way of working changes the Development approach. Enterprise Architects view of the State Machine helped them to discuss how the Traffic Light should behave. They could try out their behavior without looking into Code. For complex systems this gives a very nice opportunity to integrate non software specialists in the Design.

What we also show with this demo is that you can build Software Mocks of real Hardware:

image

And in the end everything was tied together with the Hardware:

image

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
09
März
2010

Immobilien zum Angreifen – Signa Holding führt futuristisches Marketingtool ein

von Daniel Siegl | 0 Kommentare »

Wir haben unsere erste Referenz im Partnernet von Microsoft online!

Immobilien zum Angreifen – Signa Holding führt futuristisches Marketingtool ein

Unsere Applikation ermöglicht die Standortvisualisierung und ansprechend Präsentation von den  Immobilien Projekte der Signa Holding auf diesem sehr schön verbauten Microsoft Surface Tisch.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis
08
März
2010

LieberLieber AMUSE a first Video Tutorial

von Daniel Siegl | 0 Kommentare »

We have a first Tutorial Video on AMUSE:

You can Download the Video or watch it online. If you want to see a short video with AMUSE in Action look at our previous Post.

Play Video

We are happy to get feedback from our readers about what they think on our UML Simulation and Execution Solution based on Enterprise Architect.

A trial version of AMUSE will be available later this week!

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google
  • description
  • description
  • TwitThis