Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5 controlling Project 98 HELP!!!!
Message
From
12/11/1999 17:29:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP 5 controlling Project 98 HELP!!!!
Miscellaneous
Thread ID:
00290795
Message ID:
00290795
Views:
67
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
Map
View

Click here to load this message in the networking platform