|
|
Azeezuddin
Newbie
Reged: 11/30/11
Posts: 24
|
|
hi all,
can any one suggest me how to open a password protected word document using Test Complete code.
i used the following code and it does not work.
Set objWord = CreateObject("Word.Application") objWord.Visible = False Set objDoc = objWord.Documents.open(Document,0,false,5,"second","second")
|
Azeezuddin
Newbie
Reged: 11/30/11
Posts: 24
|
|
When i've searched in google i got syntax for opening word and excel password protected documents but not for presentations...
Please can any one suggest how to open a password protected presentation in Testcomplete using VBScript???????
Regards, Azeez.
|
Mike_SmartBear
Member
Reged: 09/21/11
Posts: 43
|
|
Hi Azeezuddin,
Quote:
can any one suggest me how to open a password protected word document using Test Complete code.
i used the following code and it does not work.
Set objWord = CreateObject("Word.Application") objWord.Visible = False
Set objDoc = objWord.Documents.open(Document,0,false,5,"second","second")
You pass incorrect parameters to the Open method. Please make sure that the types of the parameters correspond to the method's specification that can be found here.
Quote:
Please can any one suggest how to open a password protected presentation in Testcomplete using VBScript???????
What application are you going to use to open the presentation? What is the extension of the presentation file?
-------------------- Mike,
SmartBear Support Team
|
|
0 registered and 13 anonymous users are browsing this forum.
Moderator: NickAQA, Robert Martin, martinh, brentpaine
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 905
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5
|