'Declaration Public Overloads Function OpenExcel( _ ByVal stream As Stream, _ ByVal password As String _ ) As Boolean
Parameters
- stream
- Stream that contains an Excel Compound Storage file
- password
- The password
'Declaration Public Overloads Function OpenExcel( _ ByVal stream As Stream, _ ByVal password As String _ ) As Boolean
string f; f = "D:\\formula1.xls"; System.IO.FileStream s = new System.IO.FileStream(f, IO.FileMode.Open, IO.FileAccess.ReadWrite); FpSpread1.OpenExcel(s, "test");
Dim f As String f = "D:\formula1.xls" Dim s As New System.IO.FileStream(f, IO.FileMode.Open, IO.FileAccess.ReadWrite) FpSpread1.OpenExcel(s, "test")