The classes you reference and try to create object of it are located in that files of Acrobat.So it is not problem of binding type, it doesnt work because such types are not registered on that another computer.
Adobe Acrobat Distiller 2017 Install Adobe ReaderSo if the question is how to solve the errors: install Adobe Reader on that computer as well.This reference was included on the computer where the Adobe Acrobat is installed.
![]() You simply cant create object from type, which is not registered on that another computer, thats it. Adobe Acrobat Distiller 2017 Code Portable BetweenTo make your code portable between computers, always use late binding. This allows the computer to find the library at runtime instead of hard linking to a file manually on each PC before you run the code. When this type is not registered (no entry in registry) then it cant be created. ![]() Set mySuperMonkey CreateObject(MonkeyLibrary.SuperMonkeyClass). This will not work until I register this library MonkeyLibrary which has to contain this class SuperMonkeyClass on my computer. The late binding allows it to find the installed version instead of hard-coding a link to a version that may not exist. Its more flexible across computers but you still need A version of the library installed. Provide details and share your research But avoid Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. Not the answer youre looking for Browse other questions tagged excel vba acrobat or ask your own question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |