Re: Word template - Workflow System - Event Handler problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Fernando,
I would like to see an alternative method to VBA. The user could choose the
"Disable Macros" option and this too would fail. Are there any other
sugguestions / solutions for this? Also, how do you "tell" office apps that
they should save the currently opened file to a different library with out
prompting for location?

Thanks for the suggestion Fernando,

Jared


"Fernando Hunth" <FernandoHunth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2C68657E-32A8-40C8-9356-3E3C0576AECF@xxxxxxxxxxxxxxxx
> An option can be that when the user saves the document a vba macro closes
> it.
>
>
>
>
>
> Fernando Hunth
> Microsoft 3DCE
> Senior Developer
> http://msdevelopers.blogspot
>
>
>
> "Jared" wrote:
>
>> I am trying to create a simple workflow system using several document
>> libraries as staging areas. The first library in the chain allows the
>> user
>> to complete a Word document template and save back to the library. An
>> Update event fires and my handler moves the newly updated document to the
>> next queue/stage based on extended properties of the library (status,
>> product, amount, etc). However, if the user saves the document and
>> selects
>> one of the property items that the handler "subscribes" to the move will
>> fail (the document is still open).
>>
>>
>>
>> My question is: How can I react to the document when the user still has
>> it
>> open in one of the office applications?
>>
>>
>>
>> A simple scenario would be: Amount > 1000
>>
>>
>>
>> Open template
>>
>> Fill-in
>>
>> Save
>>
>> Event Handler - Amount is greater than 1000 ß Evaluates to true
>>
>> Move Document to different queue ß Fails because the document is still
>> open,
>> how do prevent this?
>>
>>
>>
>> TIA
>>
>> Jared
>>
>>
>>


.



Relevant Pages

  • Re: How does Require deal with multiple files of the same name in different directories
    ... include would fail anyway) a check could be made for any file and if ... one exists assume it's correct (pssibly issuing a warning). ... A program written for older W32F versions is available somewhere. ... libary files (or copying the system libraries over the older versions) ...
    (comp.lang.forth)
  • Re: compile+link Fujitsu Linux
    ... especially in bespoke systems where I operate. ... Dynamic loading fails mid-run due to a missing program. ... Well actually I can see that if you fail to include a program in the ... But you don't test the libraries so you wouldn't notice that until the ...
    (comp.lang.cobol)
  • Re: Word template - Workflow System - Event Handler problem
    ... The other option is to use VSTO and build a component that will force the information. ... The user could choose the "Disable Macros" option and this too would fail. ... >> libraries as staging areas. ... >> A simple scenario would be: Amount> 1000>> ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Direct3DCreate9() works with DX8?
    ... >The version number is meant to catch mis-matches of SDK headers and link ... >libraries, not so much to ensure that Direct3D9 is installed on the system, ... fail to launch if you linked to the import library and LoadLibrary ...
    (microsoft.public.win32.programmer.directx.graphics)