Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serving up Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00419750
Message ID:
00419779
Vues:
24
Dennis,

I haven't done this, but I think you need to build the ProjMgr project first. The ProjMgrCOM class is set as OLEPublic, so you shouldn't have any problem creating the COM Object after you build the project.

HTH

>On page 109 of the Developer's Guide is the following:
>
>Business objects possess corresponding SetDataFormat and GetDataFormat methods which set and get the current data format of a business object. For example, you can run the following code from the Visual FoxPro Command Window for the sample Project Manager:
>
>oApp = CREATEOBJ("ProjMgr.ProjMgrCOM") && Instantiate the app object
>?oApp.GetDefaultDataFormat() && Returns a 3 (XML)
>
>oProjects = CREATEOBJ("ProjMgr.ProjectsObj")
>?oApp.GetDataFormat() && Returns a 3 (XML)
>oProjects.Requery() && Requery the Projects obj
>?oProjects.GetData() && Displays records in XML
>
>*--* when I type the first line in the command window I get:
> Class definition PROJMGR.PROJMGRCOM is not found.
>
>Can anyone explain this to me.
>Thanks
>Dennis

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform