I want to launch a word document (.doc) by using Wise or VBscript . I am unable to do so . Anyone who can help me please ?
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


In VB Script, the following code will open the file test.doc from the C:\test folder :

[font="Courier New"]Set objWord = CreateObject("Word.Application")
objWord.Visible = True

Set objDoc = objWord.Documents.Open("c:\test\test.doc")


Answered 10/04/2006 by: spartacus
Fifth Degree Brown Belt

Please log in to comment
Thanks for the script buddy , But when i launch the file using this script it displays the formatting also . Is there a way in which i can launch the file without formatting .
Answered 10/04/2006 by: karan_gupta
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity