geting for code

Recommended Answers

What kind of file are you trying to open?

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

Jump to Post

All 4 Replies

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
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.