Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 2000
Message
From
01/08/2000 16:42:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00399044
Message ID:
00399580
Views:
12
Barbara,
I found one of the problems. When my app first starts it checks to see if MSProject is installed. I use the following code
cOptPath = ""
DIMENSION aCLSIDs[1]

SET CLASSLIB TO registry.vcx ADDITIVE
oReg = CREATEOBJECT("Registry")

*Grab array of CLSIDs
IF oReg.EnumOptions(@aCLSIDs,cOptPath,"",.T.) # 0
RETURN .F.
ENDIF

IF ASCAN(aCLSIDs,"MSProject.Application") > 0
mpckek = .T.
*MESSAGEBOX("Found It")
ELSE
mpckek = .F.
*MESSAGEBOX("Couldn't find it.")
ENDIF

This code dosen't seem to work in W2K
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform