geting for code

What kind of file are you trying to open?

Is it an office file, text file, datatbase, picture or what?

What kind of file are you trying to open?

Is it an office file, text file, datatbase, picture or what?

i m using for appointments so it may any of ms office document.
thank you..

hello !
Use openfiledialog to open ur required file use rich text box control or textbox control with multi lines ,

Regards
M.Waqas Aslam

Private Sub OpenFile(ByVal Filename As String)
        Try
                Dim fi As New FileInfo(Filename)
                Process.Start(fi.ToString)

        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.Exclamation)
        End Try
    End Sub