Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Common Dialog: ShowOpen() errors out
Message
From
23/12/2004 08:49:07
 
 
To
23/12/2004 08:13:09
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971064
Message ID:
00971760
Views:
60
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
Previous
Reply
Map
View

Click here to load this message in the networking platform