VB 6.0 code for Open file using Microsoft Common Dialog Control 6.0

Unknown | 1:12 AM |

CommonDialog1.DialogTitle = "Open File"

CommonDialog1.Filter = "Log Documents (*.log)|*.log|Text Documents (*.txt)|*.txt|Excel Spreadsheets (*.xls)|*.xls"

CommonDialog1.FilterIndex = 1

CommonDialog1.Flags = cdlOFNFileMustExist + cdlOFNHideReadOnly

CommonDialog1.ShowOpen

Dim filename As string

filename = CommonDialog1.filename

Dim fl As String

fl = CommonDialog1.FileTitle

Category:

About http://dotnetvisual.blogspot.in/:
DOT NET TO ASP.NET is a web application framework marketed by Microsoft that programmers can use to build dynamic web sites, web applications and web services. It is part of Microsoft's .NET platform and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime, allowing programmers to write ASP.NET code using any Microsoft .NET language. create an application very easily ....