Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
O = CreateObject(
Message
 
À
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:
00795887
Vues:
8
Possibly because you did not set MaxFileSize?

>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
Répondre
Fil
Voir

Click here to load this message in the networking platform