Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by Mark_Elsner
Fri, 19 Dec 2008 16:26
Vb.Net and InDesign CS4 Critical Problem
Author: Mark_Elsner
Date: Fri, 19 Dec 2008 16:26
Date: Fri, 19 Dec 2008 16:26
1 lines
1459 bytes
1459 bytes
I have a script(well many scripts) that the first thing it does is set the user interaction level and then it opens up a template file from my local C drive. When I run the script from my development environment it works fine and I have no issues. When I "install" the script on to my computer(or other computers) and run it as an application I get an error right away that says an unhandled exception has occurred in your application. The error is Method not found: 'InDesign.Document InDesign.Document.Save(System.Object, Boolean, System.Object, Boolean)'. It really makes no sense to me as I am opening a document in the first line and I am not saving it until well after the document is open. I just switched to CS4 from CS2 and this script used to work fine. Like I said it also works fine when I run it directly from my development environment. Any ideas what is going on?
Re: Vb.Net and InDesign CS4 Critical Problem
Author: Mark_Elsner
Date: Mon, 22 Dec 2008 19:33
Date: Mon, 22 Dec 2008 19:33
3 lines
964 bytes
964 bytes
I have done some further testing with my problem above. I can run the exe from my bin\release folder and the application works fine. It is almost like the interop.indeisgn.dll is not being copied over properly on install or it is being put in the wrong location. Is there something different in regards to the dll for indesign cs 4 vs indesign cs 2? Thanks
Re: Vb.Net and InDesign CS4 Critical Problem
Author: Steven_F._Bryant
Date: Tue, 23 Dec 2008 09:07
Date: Tue, 23 Dec 2008 09:07
1 lines
649 bytes
649 bytes
Your interop dll belongs in same folder as vb.net .exe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads