[api-dev] C#, createInstance, msvcr71.dll

2006-12-18 Thread Adam Patacchiola
Hi, I just spent 2 days figuring out that the reason I was getting a FileNotFoundException with this error The specified module could not be found. (Exception from HRESULT: 0x8007007E) thrown from my c# code when I call createInstance was because msvcr71.dll could not be found on the system.

[api-dev] c# Input Fields, get Hint property?

2006-10-04 Thread Adam Patacchiola
Hi, I'm trying to update input fields in a writer document using C#. I'm planning on using the hint property when the field is created to indicate that this is a field that needs updating. (I tried using user variables, but they are removed when the document is converted to MS Word format,

[api-dev] pass com object instance to macro and call methods on it

2006-10-03 Thread Adam Patacchiola
Can anyone help me...I posted my question in this thread a while ago: http://www.oooforum.org/forum/viewtopic.phtml?p=175288 and haven't been able to find an answer yet. TIA Adam - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [api-dev] prevent document closing

2006-09-29 Thread Adam Patacchiola
) { } } Mathias Bauer wrote: Adam Patacchiola wrote: Hi, How can I prevent a document from closing? I've figured out how to do it for the frame by adding a CloseListener and throwing a CloseVetoException in queryClosing, but this does not seem to work for the internal document

Re: [api-dev] prevent document closing

2006-09-29 Thread Adam Patacchiola
So how do I prevent the inner document window from being closed? Mathias Bauer wrote: Adam Patacchiola wrote: //If i add the listener to the frame here, the outer most frame is prevented from closing, but the user can still click the internal document window's close button

[api-dev] prevent document closing

2006-09-28 Thread Adam Patacchiola
Hi, How can I prevent a document from closing? I've figured out how to do it for the frame by adding a CloseListener and throwing a CloseVetoException in queryClosing, but this does not seem to work for the internal document. Adam