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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is Lotus a com-server - can I create Lotus objects? 1

Status
Not open for further replies.

german12

Programmer
Nov 12, 2001
563
DE
Createobject + Lotus
I am member of the visual foxpro-group and have asked this - with an answer perhaps somebody can answer
from this Lotus-group: (please look at the answer at the bottom of my question.)

Thanks for help

Klaus



Is it technical possible to create a Lotus-object.

I experimentally tried:

LOCAL loLotus
loLotus = CREATEOBJECT("123w.application")
loLotus.VISIBLE = .T.

it does not work - missing class definition were claimed
(Lotus 123w is installed, of course.)

However this works:
run /n C:\lotus\123\123w

Help?

Regards from Germany

Klaus

Answer
---------
rgbean (Programmer)
Jun 14, 2002

Unless Lotus 1-2-3w is a real COM server, the CREATEOBJECT() simply won't work. I'd
check the documentation - if it is a COM server, I'm sure they'd state it (if not promote it!),
otherwise you are out of luck.

Rick


and that is the question I still have here....

Please help.

Klaus
 
Dear Sir,

You should Refer to Lotus On-Line Help on "How do I use OLE objects".

Dim appdoc As Variant
Dim appobj As Variant
Set appdoc = CreatObject ("Lotus123.Workbook")
REM this appdoc object is of type document
Set appobj = appdoc.parent
REM this appobj object is of type application and is what you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top