Ms. Cooper,
Thank you for sending the lic. file
Well, I downloaded the file and copied it into folder where "Aspose.Grid.Web.dll" also resides (C:\Program Files\Aspose\Aspose.Grid\bin).
I am referencing this lic file in ASP.NET 2.0 Web Site and have written following lines of code in ASPX Page that contains the AsPose Grid Control.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim lic As Aspose.Grid.Web.License = New Aspose.Grid.Web.License()
lic.SetLicense("C:\Program Files\Aspose\Aspose.Grid\bin\Aspose.Grid.lic")
End Sub
&
Protected Sub btnAsPose_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAsPose.Click
Dim myPath As String = "c:\temp\CSESCensus1(50).xls"
Dim fs As FileStream = File.OpenRead(myPath)
'Loading the Excel file contents into the control from a stream
GridWeb1.WebWorksheets.ImportExcelFile(fs)
'Closing stream
fs.Close()
End Sub
Couple of Issues:-
1. I do not see "Aspose.Grid.lic.xml" . Should I be referring "lic" file or the "xml" file in the code ?
2. I do not see "default images" on command button bar but see "red crosses" as images.
3. Where can I post these issues on Forums ? Are there any special forums for "Trial version users" ?
Please advise.
Thank you,
Harshal Mulay
This message was posted using Email2Forum by Merit.