vb.net - VB SaveFileDialog returns "No items match your search." for a specific folder filtering for .txt for example -


vb savefiledialog returns "no items match search." specific folder filtering .txt example. open file dialog other applications eg. notepad show .txt files.

sorry not posting code, after finding solution can see important. found solution

' not work i.e. dialog returns "no items match search." filedialog1.filter = "" savefiledialog1.filter += "|c/c++|*.cpp;*.c;*.h;*.rc" savefiledialog1.filter += "|csharp|*.cs" savefiledialog1.filter += "|css|*.css" savefiledialog1.filter += "|eruby|*.erb;*.rhtml" savefiledialog1.filter += "|java|*.java" savefiledialog1.filter += "|javascript|*.js" savefiledialog1.filter += "|jsp|*.jsp"  ' solves problem, dialog shows files selected file extension(s) savefiledialog1.filter = "" savefiledialog1.filter += "|c/c++ (*.cpp;*.c;*.h;*.rc)|*.cpp;*.c;*.h;*.rc" savefiledialog1.filter += "|csharp (*.cs)|*.cs" savefiledialog1.filter += "|css (*.css)|*.css" savefiledialog1.filter += "|eruby (*.erb;*.rhtml)|*.erb;*.rhtml" savefiledialog1.filter += "|java (*.java)|*.java" savefiledialog1.filter += "|javascript (*.js)|*.js" savefiledialog1.filter += "|jsp (*.jsp)|*.jsp" 

just interest sake, if search uses the first part of parameter e.g. css (*.css) purpose of second part of parameter (the file extensions after "|" delimiter) ?


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -