Solved

HowTo crack a locked VBA project in Word

Posted on 2001-08-21
10
455 Views
Last Modified: 2008-01-16
I installed a fax application that added a VBA project in MS-Word 2000. When I double-click on this project, I am prompted for a password. How can I can crack it in order to view the macros in this project ?
0
Comment
Question by:normbody
  • 4
  • 3
  • 3
10 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6411936
If it ask for a password is easy to crack, but if it says something like:" This project cannot be show".... forget it.
0
 
LVL 17

Accepted Solution

by:
calacuccia earned 250 total points
ID: 6414346
Hi normbody,

The sample code in this article can help you determine if the project is simply locked for viewing or if something else happened:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html/deovrlockingyoursolutionsvbaproject.asp

you need to provide the correct password for viewing it.

You can make the password prompt appear, by opening the template in Word, via File/Open (set Files of type to Document Templates, insteadof having it loaded through Tools/Add-Ins & Templates.

calacuccia
0
 

Author Comment

by:normbody
ID: 6414530
Richie_Simonetti, Please tell me how to crack it ! calacuccia  helped me to be prompted for the password.

Thank you.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6414572
As i said, if the project is locked for view i don't know. If only ask for password it can be done.
0
 
LVL 17

Expert Comment

by:calacuccia
ID: 6414578
Richie,

With the method I described, and with the feedback from normbody:

normbody is asked to provide a password now.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6414627
So, if we have a window to enter password, we need a little tool called softice (Hope still on the net).
If you haven't. Send me the file (doc or xls project, is the same protection) and i will try.
0
 

Author Comment

by:normbody
ID: 6416101
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6416372
So, you will use softice but accept answer by calacuccia?
Calacuccia, nothing against you!
Hope you know how to get it or at least, which function and register to trap and read.
Cheers
0
 

Author Comment

by:normbody
ID: 6417596
Richie, I've setup an other question for you. Please give me a comment there, and I'll give your points too.

By studying the macros, I realised that it will not help me to get access to them.
0
 
LVL 17

Expert Comment

by:calacuccia
ID: 6419308
ThAnks, normbody.

I suppose you graded my comment because I helped you to get a password prompt, as a first step towards the solution of this problem.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now