Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

OpenFileDialog and no extension

1 réponse
Avatar
Polo
Hi

I try to set the filter of the OpenFileDialog to filter files without
extension but without success

-> dlg.Filter = "File without extension (*.)|*.";

Thank you in advance

1 réponse

Avatar
Lloyd Dupont
c'est un site francais ici!
comme je suis un pays anglo-saxon je n;ai pas immediatement realiser ton
erreur, mais pour un belge, quand meme!

avec la syntaxe simplistique de l'OpenFileDialog, y'a pas moyen de specifier
l'absence d'extension.
(*. veut dire fichier finissant par un point comme 'document.', 'rien.',
'foo.' (remarque le point a chaque fois))

par contre tu peux dire n'importequel fichier avec
"Tous les fichiers|*.*"
ou
"Tous les fichiers|*"


"Polo" wrote in message
news:416e6e34$0$22071$
Hi

I try to set the filter of the OpenFileDialog to filter files without
extension but without success

-> dlg.Filter = "File without extension (*.)|*.";

Thank you in advance