Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement