Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog: ShowOpen() errors out
Message
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:
00971638
Vues:
66
This message has been marked as the solution to the initial question of the thread.
>>I think that what you've run into, especially in view of the messages, is the maximum length of the path. This is currently 260 in ANSI.
>
>Nope. That was a small prob, just fixed by increasing MaxSize.
>The problem is it does not liked to be instantiated directly, but in a form for whatever reason.

Alex,

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.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform