Announcement

Collapse
No announcement yet.

Unconfigured Ad Widget

Collapse

Unprotecting VBA Project via VBA code to change code

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: Unprotecting VBA Project via VBA code to change code

    Hi,

    It's a misunderstanding. My code don't break any password.
    It's just another way to define programmatically the password.


    Greetings
    Jérôme

    p.s.: i can reattach my source ?

    Comment


    • #17
      Re: Unprotecting VBA Project via VBA code to change code

      Does the user need to know the Password to use your application?
      Hope that Helps

      Roy

      New users should read the Forum Rules before posting

      For free Excel tools & articles visit my web site

      If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need

      RoyUK's Web Site

      royUK's Database Form

      Where to paste code from the Forum

      About me.

      Comment


      • #18
        Re: Unprotecting VBA Project via VBA code to change code

        Does the user need to know the Password to use your application?
        Absolutely.
        It's just a more secure way than SendKeys method to set the VBA project password programmatically.

        greetings

        Comment


        • #19
          Re: Unprotecting VBA Project via VBA code to change code

          providing it cannot be abused to crack passwords, then please attach again. I am sure you understand that we have to be careful.
          Hope that Helps

          Roy

          New users should read the Forum Rules before posting

          For free Excel tools & articles visit my web site

          If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need

          RoyUK's Web Site

          royUK's Database Form

          Where to paste code from the Forum

          About me.

          Comment


          • #20
            Re: Unprotecting VBA Project via VBA code to change code

            No problem, i understand

            Hello all,

            I found another way to unlock a VBE project, without using SendKeys.
            I use Win32 API to find the correct windows and manipulate them.

            The joined zip contents the VB6 source code. It's an Word 2000 version, but you can easily adapt it to Excel and/or in VBA ...

            Don't forget to edit the MVBE.bas module to adapt it to your language (don't works if the windows caption are not correct).

            The code is well commented in bad english (like this post ). So, sorry in advance ...

            Have a fun
            Attached Files

            Comment


            • #21
              Re: Unprotecting VBA Project via VBA code to change code

              Hi Harry...

              Here is an idea for you...

              Why not have your macro seach for a file that your "unlock" application goes about creating...?

              I use it for some of the tools that I write...

              Regards,

              Jason

              Comment


              • #22
                Re: Unprotecting VBA Project via VBA code to change code

                Originally posted by gg67
                Hello all,

                I found another way to unlock a VBE project, without using SendKeys.
                I use Win32 API to find the correct windows and manipulate them.

                The joined zip contents the VB6 source code. It's an Word 2000 version, but you can easily adapt it to Excel and/or in VBA ...

                Don't forget to edit the MVBE.bas module to adapt it to your language (don't works if the windows caption are not correct).

                The code is well commented in bad english (like this post ). So, sorry in advance ...

                Have a fun
                Hi,

                gg67 created this macro for Word. I don't know how to enable it for Excel. Is there anybody who has already written codes for this stuff than please help me with this.

                See the attachment...

                Many thanks.
                ilyaskazi
                Last edited by royUK; July 27th, 2006, 20:54.

                Comment


                • #23
                  Re: Unprotecting VBA Project via VBA code to change code

                  Originally posted by ilyaskazi
                  Hi,

                  gg67 created this macro for Word. I don't know how to enable it for Excel. Is there anybody who has already written codes for this stuff than please help me with this.

                  See the attachment...

                  Many thanks.
                  ilyaskazi
                  gg67 has never posted since this. The code is written for Word & I don't even know if it works. As you can see it is the opinion of most members that you can't do this.

                  Also, please do not re-attach existing attachments.

                  I am closing this thread because it is an old one and IMO has been answered as fully as possible!
                  Last edited by royUK; July 27th, 2006, 20:57.
                  Hope that Helps

                  Roy

                  New users should read the Forum Rules before posting

                  For free Excel tools & articles visit my web site

                  If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need

                  RoyUK's Web Site

                  royUK's Database Form

                  Where to paste code from the Forum

                  About me.

                  Comment

                  Trending

                  Collapse

                  There are no results that meet this criteria.

                  Working...
                  X