Page 1 of 2

Multi_language problem c++ builder 6

Posted: Wed Aug 23, 2006 3:47 pm
by 8443014
Hi,

I just tried to install the Teechart pro VCL 7.07 for C++ Builder 6. The
Multi_Language in the demo does not work when I selected with different
language from the language list box. In addition, the source code from the
source code tab doesn't give enough information how to add or drop languages
from Teechart component in my C++ builder editor into my project. Please
tell me how to fix it.

My another question is how I can associate with this language in my cgi with
my browser for live teechart. Do you have any source code for this?

Thank you in advance.

John Nguyen
jnguyen@huntpower.com

Posted: Thu Aug 24, 2006 9:35 am
by narcis
Hi John,

We could reproduce this, the demo doesn't work and I've added it to our defect list to be fixed for future releases. However, the code below works fine in an example:

Code: Select all

//--------------------------------------------------------------------------
-

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
#include <TeeCatalan.hpp>



//--------------------------------------------------------------------------
-
#pragma package(smart_init)
#pragma link "TeeCatalan"
#pragma link "TeeEdit"
#pragma resource "*.dfm"
TForm1 *Form1;
//--------------------------------------------------------------------------
-
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::BitBtn1Click(TObject *Sender) { TeeSetCatalan();
ChartEditor1->Execute();
}
//---------------------------------------------------------------------------
Regarding the CGI question, we are not much sure about what you want to achieve. However I'm attaching an example (find it in my reply at the newsgroups) of how to use TeeChart with cgi. You can also find the example here:

http://www.steema.com/products/teechart ... xample.htm

Re: Multi_language problem c++ builder 6.

Posted: Thu Aug 24, 2006 4:15 pm
by 9242178
Hi Narcís,

I still could not open the Teechart Editor when I clicked on the the button. My another question is: How does this multilanguage work in CGI? To have mutilanguage for example Spanish in browser, Do I have to set TeeSetSpanish() language on my CGI side, and need to register the Spanish tee chart ocx on my server, and then embed it in the browser?

Back to the CGI question, The attached project just works for image only. My CGI also works fine with the images but it does not for the live teechart. when I stream the chart from cgi to the browser like this TChart1.Import.LoadFromURL("http://www.myweb.com/myscripts/createchart.asp") , the chart just showed blank. But if I switch back the live tee to the gif or jpeg from my CGi, I see the chart image in IE7. My CGI worked very well for IE Browser 6.xx but it does not work anymore since I have downloaded the new browser 7.xx beta. I just want to troubleshoot the issue before all of my customers get the new IE 7.xx

All of your response would be a big help for me.

Thanks

John

Re: Multi_language problem c++ builder 6.

Posted: Thu Aug 24, 2006 5:53 pm
by 9242178
Hi Narcís,

The demo you sent to me worked now. Please help me with the rest of my questions.

Thanks

John

Posted: Mon Aug 28, 2006 8:12 am
by Pep
Hi John,

as I know you're using the TChart component into the web pages as an images, in that case these cannot be edited.
About IE7 we're aware of the problem, the IE7 still in beta and maybe this could changed, however it will be supported when the non beta release will be ready.
If you're source code customer let me know and I can show you what to change to support it without errors.

If you still having questions do not hesitate to post them here.

Re: Multi_language problem c++ builder 6

Posted: Tue Aug 29, 2006 3:20 pm
by 9242178
Narcís,

I am using TChart component to sned the Tee stream into browser as a 'live' chart not an image. We just currently upgraded both Teechart AX and VCL to newest version 7. From the test, we found out one thing: the Teechart is not fully compatible with the IE7. The chart is only able to show as an image but not as a live chart. We do want to see the 'live' chart so we are able to do the zoom. The IE7 is just out of Beta into a normal release already. We have some customers requesting us to fix this problem. We are the source code customer.

Please advise on how you will resolve/help me to fix this problem.

John






Hi John,

as I know you're using the TChart component into the web pages as an images, in that case these cannot be edited.
About IE7 we're aware of the problem, the IE7 still in beta and maybe this could changed, however it will be supported when the non beta release will be ready.
If you're source code customer let me know and I can show you what to change to support it without errors.

If you still having questions do not hesitate to post them here.

Re:Multi_language problem c++ builder 6

Posted: Tue Aug 29, 2006 4:56 pm
by 9242178
Narcís,

I am using TChart component to send the Tee stream into browser as a 'live' chart not an image. My cgi and asp worked well with ie6.xx and older browser. Recently, we just upgraded both Teechart AX and VCL to newest version 7, and test both software with ie7. From the test, we found out one thing: the Teechart is not fully compatible with the IE7. The chart is only able to show as an image but not as a live chart. We do want to see the 'live' chart so we are able to do the zoom. The IE7 is just out of Beta into a normal release already. We have some customers requesting us to fix this problem. We are the source code customer.

Please advise on how you will resolve/help me to fix this problem.

John

Posted: Fri Sep 01, 2006 9:15 am
by Pep
Hi John,

ok, if you're source code customer please go to TeeUrl.pas unit, line 199 and change it by this one :
h1:=_InternetOpenA('Tee', INTERNET_OPEN_TYPE_PRECONFIG, nil,nil, {WININET_API_FLAG_SYNC} INTERNET_FLAG_DONT_CACHE {5.02 });

This will solve the problem, however we're trying to find which could be the best flag which also works fine with IE7.

re:Multi_language problem c++ builder 6.

Posted: Fri Sep 01, 2006 2:52 pm
by 9242178
Hi Josep,

I just searched for this file 'TeeUrl.pas ' but I didn't see it. Let me check with my boss to find out if we are source code customer. I'll be back quick.

Thanks
John

Re: Multi_language problem c++ builder 6

Posted: Wed Sep 06, 2006 3:11 pm
by 9242178
Hi Josep,

I knew the previous version 5.xx we have is the source code version. I just talked to another programmer who ordered both VCL and AX version, and know we are not source code customer for this new version because he supposed there is no change in coding when we upgrade the software from the previous version to the newest version. I am so sorry for this.

Back to the problem with IE7 and since we are not source code customer:), please advise me on how you will resolve/help me to fix this problem.

Thanks
John

re:Multi_language problem c++ builder 6.

Posted: Fri Sep 08, 2006 2:30 pm
by 9242178
Hi,

Is there any one can help me with the problem I have posted above?

Thanks,
John

Re: Multi_language problem c++ builder 6.

Posted: Mon Sep 11, 2006 4:14 pm
by 9242178
Hi,

I just want to update my question. I use both ASP and c++ builder to generate tee stream then send it to browser. Since the new VCL and AX version 7 don't work for IE7 when I send stream from my cgi and asp, please help me to resolve this problem ASAP because our customers have started to use IE7 already, and they want to see this fixed. We are not source code customer.

Best regards
John

Posted: Tue Sep 12, 2006 10:10 am
by Pep
Hi John,

sorry for delay, I've been on holidays. Please let me know which TeeChart Pro and Delphi version you are using and I'll try to create the compiled packages which work for IE7 and will send them to you. About the ActiveX version, the new v7.0.1.1 (available at the private customers download page) can work with IE7.
Also, post an email account I can use to send them to you.

re:Multi_language problem c++ builder 6

Posted: Tue Sep 12, 2006 10:12 pm
by 9242178
Hi Josep,

I have c++ builder 6.0, Teechart Pro VCL 7.07 and Teechart Pro AX 7.0.1.1. I really don't know if my AX version works or now but my live chart on my ie 7 browser is just hung when I stream to the browser from my C++ builder CGI and ASP page. The chart pannel but it is just empty or blank. Below is some links I created for you to test:

https://services.metermart.com/betaweb/ ... romasp.htm
https://services.metermart.com/betaweb/ ... romcgi.htm

My email: jnguyen@huntpower.com

Thanks,
John

re

Posted: Tue Sep 12, 2006 10:15 pm
by 9242178
I am sorry to give you the wrong test links. Here are the correct ones:

https://services.metersmart.com/betaweb ... romasp.htm
https://services.metersmart.com/betaweb ... romcgi.htm

Best Regards,
John