How to convert the c# to vb for this statement?
Posted: Wed Nov 15, 2006 3:39 am
Hi,
I'm refering to Tutorial 10 - Walkthrough ASP.NET example and is trying to code in VB.
Can someone help me to convert this C# statement to VB?
zoomedState=((Steema.TeeChart.Tools.ZoomTool)wChart.Chart.Tools[0]).SetCurrentZoom(Request,zoomedState);
I try code:
Dim zoomTool As Steema.TeeChart.Tools.ZoomTool = New Steema.TeeChart.Tools.ZoomTool
zoomTool = wChart.Chart.Tools(0)
but failed.
I'm refering to Tutorial 10 - Walkthrough ASP.NET example and is trying to code in VB.
Can someone help me to convert this C# statement to VB?
zoomedState=((Steema.TeeChart.Tools.ZoomTool)wChart.Chart.Tools[0]).SetCurrentZoom(Request,zoomedState);
I try code:
Dim zoomTool As Steema.TeeChart.Tools.ZoomTool = New Steema.TeeChart.Tools.ZoomTool
zoomTool = wChart.Chart.Tools(0)
but failed.