Page 1 of 1

VB.Net

Posted: Wed Mar 30, 2005 3:34 pm
by 8119972
Do Steema have any plans to release a VB.Net native version of TeeChart?

I'm just starting to use the .Net version of the software for the first time and I presume that I can only use C# code.

Would appreciate if someone can confirm this and answer the first question. Thanks.

Posted: Thu Mar 31, 2005 10:17 am
by narcis
Hi Kev,
Do Steema have any plans to release a VB.Net native version of TeeChart?
I'm afraid not as we already have TeeChart for .NET which is 100% written in C# managed code.
I'm just starting to use the .Net version of the software for the first time and I presume that I can only use C# code.
No, you can use TeeChart for .NET using any .NET language (i.e.: VB.NET).

Posted: Thu Mar 31, 2005 1:21 pm
by 8119972
Thanks for the reply.

Since my original post, I've looked into this a bit more. I understand that I can store the c# code in a class library project and then reference this from a VB project.

However, having set this up in the normal way, I'm struggling to build graphs in my VB project - do you have any sample code?

TIA,

Kev.

Posted: Thu Mar 31, 2005 1:47 pm
by narcis
Hi Kev,
Since my original post, I've looked into this a bit more. I understand that I can store the c# code in a class library project and then reference this from a VB project.
It's much easier, just download the binary installer from our customer download area, run it and you will already find TeeChart components in the Steema tab at VS.NET Toolbar.
However, having set this up in the normal way, I'm struggling to build graphs in my VB project - do you have any sample code?
Yes, if you look into the TeeChart tutorials you will find the code in C# and VB.NET. Thet tutorials can be found at the TeeChart program group created by the binary installer.

Posted: Fri Apr 01, 2005 9:20 am
by 8119972
Ok, I think I got mixed up initially and didn't realise that I could code directly in VB - I thought I had to use C#

However, having set up the components in VS.Net & installed the chart software on my developer client and the server, I get nothing when my web page when it loads, just a red cross where the chart should be.

I've set the TempChart property to Session and I've converted the required C# example in Tutorial 9 to VB and included this in the Page_Load event, but still nothing.

Any ideas? Any help would be greatly appreciated.

Posted: Fri Apr 01, 2005 9:31 am
by narcis
Hi Kev,

Can you run the "ASP Server Examples" available at the TeeChart Program group?

Thanks in advance.

Posted: Fri Apr 01, 2005 1:07 pm
by 8119972
I can run it but I see nothing except some text when I click on "ASP Script demo". Clicking on 'WebForm demo' just seems to open the file in VS.Net

Thanks,

Kev.

Posted: Mon Apr 04, 2005 9:43 am
by narcis
Hi Kev,

Can you please open the web page below?

C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\DemoHome.htm

Please notice that this is the default english installation path.

Posted: Mon Apr 04, 2005 10:33 am
by 8119972
I can open the page ok but the results I get are as described above.

Any ideas?

Thanks,

Kev.

Posted: Mon Apr 04, 2005 10:48 am
by narcis
Hi Kev,

Could you please check the following points?

1) Creating a VB.NET Webform application (without TeeChart) and run it properly?

2) If 1) works fine, could you please open one of the TeeChart VB.NET Webforms example:

C:\Program Files\Steema Software\TeeChart for .NET v1\Examples\Web\TeeChartNET\WebFormVB\WebFormVB.vbproj

3) If 1) doesn't work it means it's a problem with your server (security, permissions, ...). In that case we may be able to help you if you report us the error you get.

Posted: Mon Apr 04, 2005 12:24 pm
by 8119972
>> 1) Creating a VB.NET Webform application (without TeeChart) and run >> it properly?

This works fine.

>> 2) If 1) works fine, could you please open one of the TeeChart
>> VB.NET Webforms example:

>> C:\Program Files\Steema Software\TeeChart for .NET v1
>> \Examples\Web\TeeChartNET\WebFormVB\WebFormVB.vbproj

Interestingly I don't seem to have the 'Web' directory and hence not the WebFormVB project - probably why I'm struggling :)

Although, I setup a virtual web which mapped on to the C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\WebForm directory and I can view some basic graphs ok - however, all of the 'codebehind' is in C#

TIA,

Kev

Posted: Mon Apr 04, 2005 12:44 pm
by narcis
Hi Kev,
Although, I setup a virtual web which mapped on to the C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\WebForm directory and I can view some basic graphs ok - however, all of the 'codebehind' is in C#
Ok, you should create a virtual directory pointing to C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET and then try to open a VB.NET example.

Posted: Mon Apr 04, 2005 3:17 pm
by 8119972
I've done that already but I don't seem to have VB examples of WebForm1, just C#.

Should I try a re-install or is there a more recent version of the installer that i need to download (mine seems to think the version is 0.0.0.0!) ?

any thoughts?

TIA,

Kev.

Posted: Mon Apr 04, 2005 3:35 pm
by 8119972
Ok, I've downloaded the lastest version of the installer and this has fixed my problem - I now have VB examples!!

Thanks for your help - I shouldn't have to contact you again (at least on this subject!) as at least I've got a starting point now.

Regards,

Kev.

Posted: Tue Apr 05, 2005 8:02 am
by narcis
Hi Kev,

I'm glad to hear finally everything worked fine.