Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
O = CreateObject(
Message
De
03/06/2003 16:04:46
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00795872
Message ID:
00795884
Vues:
13
Hi Yuir,

>How did you "tried setting the DefaultExt"?

I used o.DefaultExt="txt".

>
>Will this work for you?
>
>o = CreateObject("MSComDlg.CommonDialog")
>o.Filter = "All Files (*.*)|*.*|Text Files(*.txt)|*.txt|Batch Files (*.bat)|*.bat"
>o.FilterIndex = 2
>o.MaxFileSize=40 && you must set this in your code anyway
>o.ShowOpen

This works great. Why did the method I tried produce the error?

Regards,

Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform