Probier mal als Mach-O-Build.. Vielleicht liegts daran..
Ansonsten muesstest Du erst einmal in Office selber testen, ob
ueberhaupt die OLE-Libs installiert sind
- Word starten
- VisualBasicEditor starten
- neue Form
- eine Schaltflaeche hinzufuegen
- im ClickEvent folgenden Code einfuegen:
Dim obj as Object
Set obj = CreateObject("PowerPoint.Application")
obj.Activate
- VB-Programm starten
-> wenn nun PowerPoint startet, sind die Libs da, wenn nicht, liegt da
das Problem
Hier der Orginal-Text (REALbasic-LanguageReference):
Troubleshooting
Here is a procedure to verify that the OLE libraries are installed.
One easy way is to launch Visual Basic Editor (under the Tools and
Macros menu), and do some automation with VBA.
Here are the steps you can use to automate PowerPoint from Word:
Launch Word.
Launch Visual Basic Editor in Word.
Insert a UserForm.
Add a CommandButton to the form.
In the click event of the button, put in this code:
Dim obj as Object
Set obj = CreateObject("PowerPoint.Application")
obj.Activate
Run the program and click on the button.
If PowerPoint starts and you don't get any errors, then the OLE
libraries are installed.
Am 25.01.2007 um 18:38 schrieb Andreas Bernhardt:
Am 25.01.2007 um 09:37 schrieb Carsten Kobusch:
1.) Welche Version RB?
rb 2007r1
2.) Liegt RB im Officeordner?
Das Programm liegt beim ausführen im Ordner Office. Da wo es vorher
halt auch lag...
Grüße,
Andreas