Microsoft Word document offer password protection which allows you to protect your sensitive information containing in your Word file, then anyone who wish to access to your file should enter the correct alpha-numeric pwd firstly. If you cannot open a secured word 2003 file, it must be irritating, right? This article will show you three effective options to open a password protected word 2003 document.
Method 1: Using VB.NET
The following code sample shows how to open a password protected word document using VB.NET
[VB.NET CODE STARTS]Dim objWord As ObjectDim strPassword as string = "PASSWORD"
objWord = CreateObject("Word.Application")objWord.visible = FalseobjWord.application.WindowState = 2objWord.application.DisplayAlerts = False
TryobjWord.Documents.Open("YOUR DOCUMENT FULL PATH NAME", PasswordDocument:=strPassword )Catch ex As ExceptionMsgbox ("Cannot open word document" ,vbExclamation , "Password Protected")End Try[VB.NET CODE ENDS]
Method 2: Obtain the password from the source
The following steps sample shows how to obtain the pwd from the source
Step 1: Check with the word file source for the password.Ask yourself where does the locked word 2003 document come from? Supposing it created by someone else, then ask the creator for the code. If your own are the word file source, you will need to locate the lost pwd.
Step 2: Verify the code with the source.Make sure you have the right pwd on hand. Verify the code can save you time. The other reason to do so is that you never know they might have given you the wrong pwd in the first place.
Step 3: Enter the correct password.Type in the correct pwd at the "Enter Password To Open File" dialog box. After you have entered the code, click the OK button.
Method 3: Using password-cracking software
If so far you still didn't solve your problem, then you'll have to go buy one of password-cracking software available for this purpose. So go to the link in "Source(s)" and download the word password cracker program. It comes with a trial version and follows the walk through. You only need to use the program to open the locked document, choose the type of attacks for word document with strong encryption. Then the program will start and keep running until find out the lost word password for you to open.Source(s):Good Search: SmartKey Word Password Recovery
Keep in mind that there nothing will miss as long as you use the corresponding password to open your password protected word document.
Method 1: Using VB.NET
The following code sample shows how to open a password protected word document using VB.NET
[VB.NET CODE STARTS]Dim objWord As ObjectDim strPassword as string = "PASSWORD"
objWord = CreateObject("Word.Application")objWord.visible = FalseobjWord.application.WindowState = 2objWord.application.DisplayAlerts = False
TryobjWord.Documents.Open("YOUR DOCUMENT FULL PATH NAME", PasswordDocument:=strPassword )Catch ex As ExceptionMsgbox ("Cannot open word document" ,vbExclamation , "Password Protected")End Try[VB.NET CODE ENDS]
Method 2: Obtain the password from the source
The following steps sample shows how to obtain the pwd from the source
Step 1: Check with the word file source for the password.Ask yourself where does the locked word 2003 document come from? Supposing it created by someone else, then ask the creator for the code. If your own are the word file source, you will need to locate the lost pwd.
Step 2: Verify the code with the source.Make sure you have the right pwd on hand. Verify the code can save you time. The other reason to do so is that you never know they might have given you the wrong pwd in the first place.
Step 3: Enter the correct password.Type in the correct pwd at the "Enter Password To Open File" dialog box. After you have entered the code, click the OK button.
Method 3: Using password-cracking software
If so far you still didn't solve your problem, then you'll have to go buy one of password-cracking software available for this purpose. So go to the link in "Source(s)" and download the word password cracker program. It comes with a trial version and follows the walk through. You only need to use the program to open the locked document, choose the type of attacks for word document with strong encryption. Then the program will start and keep running until find out the lost word password for you to open.Source(s):Good Search: SmartKey Word Password Recovery
Keep in mind that there nothing will miss as long as you use the corresponding password to open your password protected word document.
Комментариев нет:
Отправить комментарий