Solved

HowTo crack a locked VBA project in Word

Posted on 2001-08-21
10
468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 68
VBA error replacing data 6 41
MS SQL Update query with connected table data 3 63
VBA to find and replace multiline text from VBA modules 8 91
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

730 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