델파이 Excel or Word Export 시, "Interface not supported" 에러 해결방법
※ 에러 발생 원인
PC에 구버전 혹은 신버전의 오피스 프로그램이 완전히 삭제가 되어있지 않은 경우 발생함.
(The problem was that the previous version of Excel was uninstalled incorrectly on the machine)
※ 해결 방법
레지스트리 에디터 실행.
- [윈도우 + R] - [regedit] 입력
경로 진입
- HKEY_CLASSES_ROOT >> TypeLib >> {00020813-0000-0000-C000-000000000046}
설치된 MS Office 버전과 다른 버전 폴더 삭제.
※ MS Office 버전별 레지스트리 경로 및 버전 넘버는 아래 이미지 참조.
※ 해결방법 출처 (Stack Overflow) :
'Delphi' 카테고리의 다른 글
[델파이/Delphi] 숫자 or 문자 제거하기 (2) | 2021.11.16 |
---|---|
[델파이/Delphi] 열거형(Enum) 사용 예시 (0) | 2021.11.01 |
[Delphi/델파이] 최근 에러 조회하기 - GetLastError (0) | 2021.10.15 |
[Delphi/델파이] Theme Editor (테마 에디터) 소개 (0) | 2021.07.04 |
[델파이/Delphi] Application.ProcessMessages 사용시 주의점 (0) | 2020.07.26 |