Page 1 of 1

LoadfromURL

Posted: Thu Dec 11, 2003 4:52 pm
by 9078649
I am trying to load a .tee file from a URL, if I put the URL in a string like this:

TChart1.Import.LoadFromURL("http://www.steema.com/demo.tee")

It works fine but if I put in variable like this:

TChart1.Import.LoadFromURL("http://www.steema.com/" & TeeFileName & ".tee")

It wont load. Cant I load a tee file this?

Geff

Posted: Fri Dec 12, 2003 11:06 am
by Pep
Which TeeChart Pro version are you using ?

I've just test it here using the TeeChart Pro v5.06 and avobe and works fine using the following code :

Code: Select all

Private Sub Command1_Click()
TeeFileName = "demo"
TChart1.Import.LoadFromURL ("http://www.steema.com/" & TeeFileName & ".tee")
End Sub
Josep Lluis Jorge
http://support.steema.com

Posted: Fri Dec 12, 2003 12:41 pm
by 9078649
I'm using TChart Pro version 6.

Posted: Fri Dec 12, 2003 2:43 pm
by Pep
I've test it here and the same code works as expected here using the latest TeeChart Pro v6.04

Josep Lluis Jorge
http://support.steema.com