hallo,
ich habe mein Win 10 neu aufgesetzt.
Leider kommt ein Fehler, Office ist rot unterstrichen.
C#-Quelltext
1: 2: 3: 4: 5:
| Microsoft.Office.Interop.Excel._Application excel = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel._Workbook workbook = excel.Workbooks.Add(Type.Missing); Microsoft.Office.Interop.Excel._Worksheet worksheet = null; ...schnipp.. |
Office 2007 habe ich installiert sowie PIARedist.exe ohne Erfolg.
Über google kam ich auf eine Webseite, ich soll im Regedit soll ich die unbekannte Version löschen
Registry-Pfad:
HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046} -> 1.0 stand da und dieses Verzeichnis habe ich gelöscht. Auch ohne Erfolg.
Es ging mal, bzw mit dem alten System.
Moderiert von Th69: Falsche durch richtige C#-Tags ersetzt.
Moderiert von Th69: Code-Tags hinzugefügt