L
lily
Hi there,
I use the below codes to build a few Charts on the fly, it works on my XP
mechine but only export the last two charts on the 2K Server. Any ideas?
Private Sub ExportImage(ByVal oChartSpace As OWC10.ChartSpace, ByVal img As
System.Web.UI.WebControls.Image)
Dim strFullPathAndName As String
Dim FileName As String
FileName = "tmp\" + System.DateTime.Now.Ticks.ToString() + ".gif"
strFullPathAndName = Server.MapPath(FileName)
oChartSpace.ExportPicture(strFullPathAndName, "gif", 600, 400)
img.ImageUrl = FileName
img.Visible = True
' Thread.CurrentThread.Sleep(100)
End Sub
I use the below codes to build a few Charts on the fly, it works on my XP
mechine but only export the last two charts on the 2K Server. Any ideas?
Private Sub ExportImage(ByVal oChartSpace As OWC10.ChartSpace, ByVal img As
System.Web.UI.WebControls.Image)
Dim strFullPathAndName As String
Dim FileName As String
FileName = "tmp\" + System.DateTime.Now.Ticks.ToString() + ".gif"
strFullPathAndName = Server.MapPath(FileName)
oChartSpace.ExportPicture(strFullPathAndName, "gif", 600, 400)
img.ImageUrl = FileName
img.Visible = True
' Thread.CurrentThread.Sleep(100)
End Sub