Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a Crystal Reports Control at RunTime
Message
De
06/06/2003 15:16:53
 
 
À
06/06/2003 14:40:56
H. C. Doughty
Cybernet Services Inc.
Lansing, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00797343
Message ID:
00797432
Vues:
22
Actually, no... The control does not have to be registered in VFP to do this. When you register a control in the Intellisense Manager, it makes it visible to Intellisense, but it will work without doing that.

>Kevin:
>
>The activex control must be registered in VFP.. To do that,
>
>To register the runtime component --- in VFP
>
>Select Tools - Intellisense Manager
>Click the types tab
>Make sure that COM servers is displayed in the drop down on the right..
>scroll to Crystal Reports 9 ActiveX Designer Runtime Library
>
>Click DONE to close the type library references dialog
>Click OK to close the intellisense manager
>
>In the command window you can type:
>oCRW = CREATEOBJECT("CrystalRunTime.Application")
>Then if you type oCR.
>When you press the . Intellisense will kick in and show you the properties & methods..
>
>You might as well registrer the CR Viewer control while you are at it. This time, go to the tools | Options menu from the VFP tool bar.
>select the Controls tab, then select ActiveX controls from the pulldown.
>Select the Crystal Reports Viewer control 9 from the list. Make sure you click on Set as default otherwise VFP may forget the setting.
>
>Click ok to close the options dialog.
>
>Now you can create a new class based on CR Viewer etc...
>
>
>As a final - Get CrysDev: A developers guide to integrating Crystal Reports, by Craig Bernston, it is a life saver.. you can get it from www.hentzenwerke.com.
>
>Hope this helps
>Haydn
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform