Autor Beitrag
ani
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Mi 12.10.05 09:02 
hi,


ich will eine word-datei einlesen mit reader.read(); und dann wieder in eine word-datei speichern writer.write(); :) Da word ja noch viele steuerzeichen enthält funktioniert das nicht. Gibts in c# was mit dem man word-dateien bearbeiten kann? Ansonsten müsste ich nur den reinen Text speichern und das is viel zu aufwendig finde ich.

ich bitte um hilfe!? ;)
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Mi 12.10.05 09:35 
Suche mal nach den Primary Interop Assemblies für Office.
ani Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Mi 12.10.05 10:14 
wir haben hier leider nur office 2000, aber ich werd mich mal reinarbeiten.
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Mi 12.10.05 10:40 
Dann setze eine COM Reference und programmiere gegen die wie du es in Delphi auch gemacht hast. Die rim. Interop Assemblies sind ja auch nix anderes, bis auf die Tatsache, dass sie von MS signiert und somit auch in sicherheitsrelevanten Umgebungen benutzt werden können. ;)
ani Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Mi 12.10.05 10:45 
Delphi? ich nix wissen von delphi

ich dachte es wird erst ab office 2003 unterstützt.
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Mi 12.10.05 12:23 
user profile iconani hat folgendes geschrieben:
Delphi? ich nix wissen von delphi
Cool, ich dachte hierher verlaufen sich nur Ex-Delphianer. :)
Zitat:
ich dachte es wird erst ab office 2003 unterstützt.
Du hast immer die Möglichkeit, eine Reference auf die COM Server zu setzen.
VS.Net/#Develop: "Add Reference" und dann im Register "COM" die passenden COM Server wählen. ;)
ani Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Do 13.10.05 10:15 
ich hab hier was gefunden, ist eine detailierte beschreibung, ich werds durcharbeiten vielleicht kann ich ja was mit anfangen :)
FinalFantasy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 127

Windows XP
Delphi 5 Professional, Visual Studio 7 .NET (C#)
BeitragVerfasst: Fr 21.10.05 10:53 
Was hast du denn gefunden? Und wo?
Ich versuchen das ganze momentan mit Excel, das einzige halbwegs brauchbare, was ich bist jetzt gefunden habe ist:
www.codeproject.com/...=1146396#xx1146396xx
Ist allerdings für J# und Microsoft Excel 11.0 Object Lib geschrieben, ich brauche aber C# und MS Excel 10.0 Object Lib.
ani Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Windows Vista Home Premium
C#(VS 2008)
BeitragVerfasst: Mo 24.10.05 08:40