Microsoft
Software
Hardware
Network
Question : How to display two types of file format in OpenFileDialog in windows application using c#
My code
----------
openFileDialog1.Filter = "XLSX file(*.xlsx)|*.xlsx|XLSM file(*.xlsm)|*.xlsm";
openFileDialog1.ShowDialog
();
Now it is displaying either .xlsx or .xlsm files one type at a time. but it want to display both file format types in the dialog box at a time. Is't possible to display like this?
I don't want to change files type option in dialogbox from one type format to another to display the files.
Answer : How to display two types of file format in OpenFileDialog in windows application using c#
try:
openFileDialog1.Filter = "Excel files (*.xlsx, *.xlsm)|*.xlsx;*.xlsm";
Random Solutions
IIS 7 leaking private ip via https
Can You Remote Access PowerShell?
IPSec or SSL - which is best for VPN client?
Include C++ header files in .Net Application
IP Address Contention
Crystal Reports 11 (migrating from 8.5) and VB6 using RDO resultset as datasource
Group Policy - Only allow intranet web access to production desktops
PHP 5.3.2 installation problem on Vista IIS7
email on ipod touch
changed my boot disk controller type and now unable to boot