So if you mean that you don't get the option to open multiple type files, then you need to change your code slightly.
CommonDialog1.Filter = "Dat File (*.Dat)|Hdr File (*.Hdr)"
This will give you option to open both type of files
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
Let me know if that worked?
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
you can also register on my site for more tech articles. click here to visit my site
binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18