Re: ValueToPoint always give me "Invalid parameters", Urgent!!!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Why is this urgent?

Value to point is retrieves information of data on the client. The server,
does not contain that information. Therefor the parameter is invalid.

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc, Amazon, B&H etc
-------------------------------------------------------------------------------


"ethanc" <ethanc@xxxxxxxx> wrote in message
news:OpywrFolFHA.360@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I want to get a chart image at server side, and then send to client
> by BinaryWrite method.
>
> Before I send image, I also want to get the coordinate object by using
> ValueToPoint() method. But it always gvie me "Invalid Parameter" error
> info,
> even if the parameter I give it are just like 0, 5, etc.
>
> My code is following:
> <%
> ....
> NewChart.SeriesCollection(0).SetData chConstants.chDimSeriesNames,
> chConstants.chDataLiteral, "Scatter" NewChart.SeriesCollection(0).SetData
> chConstants.chDimXValues, chConstants.chDataLiteral, xArray
> NewChart.SeriesCollection(0).SetData chConstants.chDimYValues,
> chConstants.chDataLiteral, yArray
> .....
> Dim oPoint, xValue, yValue
> Set oPoint = NewChart.SeriesCollection(0).Points(0)
> xValue = oPoint.GetValue(chConstants.chDimXValues)
> xValue = oPoint.GetValue(chConstants.chDimYValues)
>
> Dim coOrdinate, x0, y0
> Set coOrdinate = NewChart.SeriesCollection(0).ValueToPoint(xValue, yValue)
> <----"Invalid Parameter"
> x0 = coOrdinate.x
> y0 = coOrdinate.y
>
> Response.BinaryWrite cs.GetPicture(PictType, 800, 600)
>
> %>
>
> Does anybody give me a answer, please?
> Thank you very much.
> It's urgent!!!
>
> ethanc
> My chart type is chChartTypeScatterMarkers.
>
>


.



Relevant Pages

  • soap:Body not encrypted - wse 3.0
    ... I've been implementing the Hands-on Labs for WSE 3.0, it works partly fine but I have a problem encrypting the messages sent from client to server and vise versa. ... The 'signatureOptions' attribute is invalid - The value 'IncludeAddressing, IncludeTimestamp, IncludeSoapBody' is invalid according to its datatype ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: soap:Body not encrypted - wse 3.0
    ... I've been implementing the Hands-on Labs for WSE 3.0, it works partly fine but I have a problem encrypting the messages sent from client to server and vise versa. ... The 'signatureOptions' attribute is invalid - The value 'IncludeAddressing, IncludeTimestamp, IncludeSoapBody' is invalid according to its datatype ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Java RMI JDK1.6 Exception - More Info
    ... I've included the stack trace of the client & server. ... int add; ... Caused by: java.net.SocketException: Invalid argument ...
    (comp.unix.bsd.freebsd.misc)
  • Kerberos error KRB_AP_ERR_TKT_NYV
    ... thus the kerberos ticket was invalid. ... >ticket used against that server is not yet valid (in ... >administrator to make sure the client and server times ...
    (microsoft.public.security)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)