spreadsheets

alaa gomaa

Member
Joined
Apr 16, 2007
Messages
13
Programming Experience
1-3
hi every body ,i need your help for open file xls in VB.NET
how i can do this ?????
 
If you want to simply open the excel file you can use the following code


VB.NET:
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim proc As New Process()
        proc.StartInfo = New ProcessStartInfo("yourfile.xls")
        proc.Start()
    End Sub
End Class

Or if you want to retrieve and modify records then this link may help you

http://support.microsoft.com/default.aspx?scid=kb%3B[LN]%3BQ316934
 
thank you my brother ajeeshco for your help but i have axspreadsheet control , i want to load file in this control in my program.
 
Back
Top