Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
O = CreateObject(
Message
De
03/06/2003 15:45:37
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
O = CreateObject(
Divers
Thread ID:
00795872
Message ID:
00795872
Vues:
50
Hello.

I am having problems using the following commands with VFP7SP1 under NT4:

o = CreateObject("MSComDlg.CommonDialog")
o.ShowOpen

The second command fails with the following message:

'OLE IDispatch exception code 0 from CommonDialog. The common dialog function failed during initialization...'

I've tried setting the DefaultExt, Flags, etc. properties and nothing seems to help. What am I doing wrong?

FYI, o.ShowPrinter, o.ShowFont and o.ShowColor all work correctly.

TIA,

Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform