LoadfromURL

TeeChart for ActiveX, COM and ASP
Post Reply
Geff
Newbie
Newbie
Posts: 3
Joined: Fri Nov 15, 2002 12:00 am

LoadfromURL

Post by Geff » Thu Dec 11, 2003 4:52 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Dec 12, 2003 11:06 am

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

Geff
Newbie
Newbie
Posts: 3
Joined: Fri Nov 15, 2002 12:00 am

Post by Geff » Fri Dec 12, 2003 12:41 pm

I'm using TChart Pro version 6.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Dec 12, 2003 2:43 pm

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

Post Reply