Beiträge zum Thema: C#

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 [...]

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 [...]

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

Unrecognized configuration settings UserSettings.

von Andreas Bruckner | 2 Kommentare »

Today I run into a strange error: In an .NET Windows Form I’m referencing a ConnectionString from Application Settings.
At 12:00 it worked.
Changed a line of code; recompiled; started over at 12:01.
The app came up with an error: “Unrecognized configuration settings UserSettings“, the debugger pointed me to the settings file.
Tried a lot. Searched the internet. Found [...]

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

Windows Management Instrumentation (WMI)

von Andreas Bruckner | 1 Kommentar »

As a .NET Developer:
Ever tried to find out more information about your computer’s system?
Ever needed a list of connected USB-Devices, available Serial Ports or Printers?
Ever heard of WMI?
Did you know, it’s also supported by Mono?
There’s a free tool from Microsoft, which is of great help navigating through namespaces, classes and their properties called “WMI Code [...]

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

Problem beim erstellen eines Installer der COM objekte bereitstellt

von Oliver Lampl | 0 Kommentare »

Ich arbeite gerade an einem Plugin für Enterprise Architect.
Mit Visual Studio 2008 und Vista Ultimate x64 lief alles reibungslos.
Gestern habe ich mir Win7  Ultimate x64 installiert, nun kam folgende Fehlermeldung:
“Microsoft (R) Visual Studio registry capture utility has stopped working”
Nach kurzer Recherche fand ich diesen Workaround.
1. Locate regcap.exe here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Deployment
 (Pfad für x64 [...]

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

Windows 7 Taskbar Glossary

von Andreas Bruckner | 0 Kommentare »

Jump List: contains recently used files, if the app has a associated file type (e.g. Notepad)

Thumbnail Previews: thumbnails of running apps; can be extended by e.g. buttons

The new Taskbar may also be extended by Tasks. In former times, these commands where added as context-menu to the notifyicon in system tray.
The best thing: you can use [...]

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

Change Modification Date / Bearbeitungsdatum ändern

von Andreas Bruckner | 0 Kommentare »

On my last vacation I used 2 digicams, but had one set to a wrong timezone accidently. That’s why I cannot copy the pictures of both cameras to one single folder, sort by date and rename. In short terms: I cannot join the pictures.
Searched the internet, but found tools, which can set the date to [...]

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