General information
Category:
COM/DCOM and OLE Automation
Title:
VFP 5 controlling Project 98 HELP!!!!
I'm trying to control Project 98 using OLE to open a file. Can anyone give me pointers? This is the Command with the descriptions of it wants.
FileOpen(lcName, llReadOnly, lnMerge, llTaskInformation, lcTable, lcSheet, llNoAuto, lcUserID, lcDatabasePassWord, lcFormatID)
I can do the following with no errors:
FileOpen(Name, ReadOnly, Merge) It then prompts me to enter the userid and password to open the database where the project is stored.
I don't want the users to have to do this.
When I try using ,,, to get to the userid/password, it tells me I haven't entered the right values.
When I try entering the appropriate defaults or blank strings, it dies on me. I've tried setting lltaskinformation to .t.,.f.,1,0,-1 and I can't seem to get any further.
Project VBA says these are optional values, but they're driving me crazy.
TIA
Laurisa Watkins
Seattle City Light
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only