Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog: ShowOpen() errors out
Message
 
 
À
23/12/2004 08:13:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00971064
Message ID:
00971760
Vues:
58
ROFL!!!! That's correct, we should. <g>

>>>You cannot instantiate the control directly. It will work fine in development, but will error out, even if it's properly installed.
>>
>>The problem has to do with a licensing issue. Drop the ActiveX control on a form, and use it to instantiate the class. This has a side benefit of allowing you to control the position of the dialog, since it's always relative to the form it's on.

>I found that out. I just didn't know it was a licensing issue as the crappy error message says something about insufficient memory. So I did drop it onto a form a few days ago and all is well.

>I guess we should all learn from MS ActiveX developers on how to do proper >error messages. I think I should start saying that to my users. When an error >occurs they'll get a random message:
>"Insufficient memory for this operation"
>"Problem found between chair and keyboard"
>"Program failure: improperly placed widget"
>"Program failure: not enough money sent to the developer. Send some more."
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform