Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Launching Word in Lotus Notes

Status
Not open for further replies.

Dhydier

IS-IT--Management
Feb 11, 2002
4
US
I am having problems with word in notes. When I go to launch a word document from notes it launches word but the document is a gray screen. I was using notes 5 and upgraded to notes 6 with the same problem. I am using office 97. I have reinstalled word and notes but still have the same problem. The notes installation is local on a laptop and also replicates to a domino server. Thanks in advance for any help.
 
Are you doing this in LotusScript? What is your existing code?

Leslie
 
Yes, I am using lotusScript. I am using a default installation of notes client with domino server.
 
What is your LotusScript code for opening Word?

Once you get Word open then you need to do something like:

Word.Documents.Add() - will open a blank word document
Word.Documents.Add('C:\My Documents\File.doc') - will open a word document named File in the My Documents folder.

Does that help?

leslie


 
Yes, that helps, thank you very much.

Doug
 
I am trying something similar. I want to open and print a word document from an action button. Using Lotus Script I am attempting the following:
Sub Click(Source As Button)
app = "Word.Application.10"
' Note: 10 = XP version of Office

Set word = createobject(app)
path$ = ("C:\Documents and Settings\My Documents\file.doc")
readonly = True
' or False -determines whether document is editable

Set appdoc = word.Documents.Open(path$, , readonly)
obj.visible = True
obj.activate
End Sub

This however gives me the following error:
Varient does not contain an object
Can you help me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top