Solved

HowTo crack a locked VBA project in Word

Posted on 2001-08-21
10
460 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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
 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

816 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

11 Experts available now in Live!

Get 1:1 Help Now