Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   С/С++, C#, Delphi, .NET, Asm (https://forum.antichat.xyz/forumdisplay.php?f=24)
-   -   Ошибка при использовании OlePropertyGet("Documents").OleProcedure("Add") (https://forum.antichat.xyz/showthread.php?t=74546)

AleksP 22.06.2008 01:41

Ошибка при использовании OlePropertyGet("Documents").OleProcedure("Add")
 
При использовании следующего кода:

Word = CreateOleObject(Word.Application.8");
Word.OlePropertySet("Visible", true);
Word.OlePropertyGet("Documents").OleProcedure("Add ");

на компьютере с Microsoft Word Standart Edition 2003 for Students and Teachers появляется сообщение об ошибке: Project Project1.exe raised exception class EOleSysError with message 'Exception ocurred'. Process stopped. Use Step or Run to continue. На компьютерах с другими версиями Microsoft Word ошибки не возникает.

В чем может быть причина и как можно ее устранить без переустановки Microsoft Word?


Время: 15:44