/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

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.
Answer this question or Comment on this question for clarity

Answers

0
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")


Regards

Spartacus
Answered 10/04/2006 by: spartacus
Black Belt

Please log in to comment
0
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