Password protected tempalte

Last post 09-06-2010, 5:31 AM by aske012. 5 replies.
Sort Posts: Previous Next
  •  09-01-2010, 7:19 AM 256569

    Password protected tempalte .NET

    Hi,
    We have a word document that has a password protect template with VBA macro in it.
    Aspose words detected the the document has macros (doc.HasMacros()), but we need to know if this macro is password protected.

    If so can we provide the password to open it?
    If no, just knowing if the macro is password protected will be good enough.

    Thank you

     
  •  09-01-2010, 10:05 AM 256599 in reply to 256569

    Re: Password protected tempalte

    Hello

     

    Thanks for your request. Unfortunately there is no way to retrieve this information using Aspose.Words.

    Could you please attach the document with password protected macro, here for testing? I will check it and provide you more information.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  09-05-2010, 5:42 AM 257095 in reply to 256599

    Re: Password protected tempalte

    Attachment: Present (inaccessible)

    Hi,
    I have attached a file with the Normal template that is password protected.
    I need you to check if you are able to know if the template is password protected.
    I can use the method HasMacros to see if there are macros (True), but I need to know if they are protected.

    Thank you

     
  •  09-05-2010, 5:30 PM 257124 in reply to 257095

    Re: Password protected tempalte

    Hi Ron,

    Thanks for attaching your template, but I was unable to see any attached macros or passwords with this document. Did you by chance attach the wrong template?

    Thanks,


    Adam Skelton
    Programming Writer
    Aspose Auckland Team
     
  •  09-06-2010, 1:04 AM 257147 in reply to 257124

    Re: Password protected tempalte

    Attachment: Present (inaccessible)

    Hi,
    The "Normal" template should be password protected.
    If not you can reproduce the issue by protecting your Normal template with a password.
    I have attached an image with the properties that should be set on the template.
    After doing this you can check to see if you can find out if the macro inside the Normal template are password protected.

    Thanks

     
  •  09-06-2010, 5:31 AM 257185 in reply to 257147

    Re: Password protected tempalte

    Hi Ron,

    Thanks for this additonal information. I'm afraid there is no way to detect the password for protecting macros at the moment.

    Sorry for any inconvenience.

    Thanks,


    Adam Skelton
    Programming Writer
    Aspose Auckland Team
     
View as RSS news feed in XML