Visual Basic (Declaration) | |
---|---|
Public Overloads Function Open( _ ByVal fileName As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim fileName As String Dim value As Boolean value = instance.Open(fileName) |
Parameters
- fileName
- Path and name of file from which to load the data
This method only loads a file created with the SheetView Save method.
This example uses the Open method.
C# | Copy Code |
---|---|
FpSpread1.Sheets[0].Open("c:\\spreadwin.xml"); s.Open("c:\\spreadwin.xml"); FpSpread1.Sheets.Add(s); |
Visual Basic | Copy Code |
---|---|
Dim s As New FarPoint.Win.Spread.SheetView s.Open("c:\spreadwin.xml") FpSpread1.Sheets.Add(s) |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8