Announcement

Collapse
No announcement yet.

Beta 7.9 XMLGetFundamentalData Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Beta 7.9 XMLGetFundamentalData Error

    I installed Beta 7.9 to get rid of the crash when I terminate my application (it did, thanks). But now XMLGetFundimentalData has this error.


    Dim fFlag As iesignal.fundamentalTypeFlags
    fFlag = ftfLISTEXG + ftfCUSIP
    ESignal.RequestSymbol sSymbol, True
    ESignal.DoSymbolLink sSymbol
    sXMLStockDoc = ESignal.XMLGetFundamentalData(sSymbol, fFlag, lReturn)
    ESignal.ReleaseSymbol sSymbol
    ESignal.ClearSymbolCache
    Attached Files
    Last edited by BKST0000111; 03-16-2005, 07:38 AM.

  • #2
    Thanks BKST.

    I'll look into it and get that fixed for Beta/2 (sometime next week?).

    Thanks!

    Comment


    • #3
      Hi BKST,

      I'm unable to duplicate this error using the code specified.

      Also, unrelated, but would cause problems for you later... you should only call XMLGetFundamentalData within an OnQuoteChanged callback.

      If you do it like you do below there is no guarantee that the quote has been retrieved from the server, and you'll end up witha blank XML string.

      Has anyone else had troubles with XMLGetFundamentalData with 7.9 Beta/1 ?

      Are you able to forward me an EXE that I could run on my side? Just to be sure we're on the same page? Also, does eSignal crash or just this error from VB?

      dloy [at] mail.esignal.com (rename the .zip to .txt to get past our mail servers).

      thanks!

      Comment


      • #4
        Still Get The error

        Here is the source for a very simple program that gets the error.
        References include C:\Program Files\eSignal\wsinsig.exe

        eSignal does not crash, only the VB6 program gets the error (this is the program that runs under 7.8)

        You may have somethign set up differently than I do. eSignal is not running when I start the VB6 program but it comes up fine although without any layout.

        I did a complete uninstall and re-install of 7.9

        Dab

        Dim WithEvents ESignal As IESignal.Hooks
        Dim gbGoAhead As Boolean
        '
        Private Sub Command1_Click()
        Dim fFlag As IESignal.fundamentalTypeFlags
        Dim dDelayTill As Date
        Dim lReturn As Long
        Dim nPos1 As Integer, nPos2 As Integer
        Dim sMarket As String
        Dim sXMLStockDoc As String
        Me.Text2.Text = ""
        If Me.Text1.Text = "" Then
        Exit Sub
        End If
        fFlag = ftfLISTEXG + ftfCUSIP
        ESignal.RequestSymbol Me.Text1.Text, True
        ESignal.DoSymbolLink
        Me.Text1.Text sXMLStockDoc = ""
        dDelayTill = DateAdd("s", 2, Now())
        gbGoAhead = False
        Do Until Now >= dDelayTill Or gbGoAhead
        DoEvents
        sXMLStockDoc = ESignal.XMLGetFundamentalData(Me.Text1.Text, fFlag, lReturn)
        Loop
        Me.Text2.Text = sXMLStockDoc
        ESignal.ReleaseSymbol Me.Text1.Text
        ESignal.ClearSymbolCache
        End Sub
        '
        Private Sub ESignal_OnQuoteChanged(ByVal sSymbol As String)
        gbGoAhead = True
        End Sub
        '
        Private Sub Form_Load()
        Dim I As Integer
        Set ESignal = New IESignal.Hooks
        ESignal.SetApplication ("<username> ")
        For I = 0 To 100
        DoEvents
        Next I
        End Sub
        Last edited by BKST0000111; 03-17-2005, 06:41 AM.

        Comment


        • #5
          One problem that I see is that you should call XMLGetFundamentalData within the OnQuoteChanged event. Although they sometimes work outside of it, ALL data retrieval should be called within those events.

          Comment


          • #6
            below is the reason I added the callback. I guess my point is that this worked in 7.8 (w/o the callback) and now I get the error message shown in my original message

            Originally posted by DionLoy
            Hi BKST,

            I'm unable to duplicate this error using the code specified.

            Also, unrelated, but would cause problems for you later... you should only call XMLGetFundamentalData within an OnQuoteChanged callback.

            If you do it like you do below there is no guarantee that the quote has been retrieved from the server, and you'll end up witha blank XML string.

            Has anyone else had troubles with XMLGetFundamentalData with 7.9 Beta/1 ?

            Are you able to forward me an EXE that I could run on my side? Just to be sure we're on the same page? Also, does eSignal crash or just this error from VB?

            dloy [at] mail.esignal.com (rename the .zip to .txt to get past our mail servers).

            thanks!

            Comment


            • #7
              Beta 7.9 XMLGetFundamentalData Error

              Any resolutions yet. I still can't get Fundimenat Data any more using 7.9

              Comment


              • #8
                Hi BK,

                sorry, still have not been able to duplicate in a debugging environment. Beta/2 will probably not contain any fixes for this yet.

                I am collecting apps that have been exhibiting this behavior. Could you send me your compiled .EXE (no need for source).

                (if the username is hardcoded, could you make one with 'DLOYD' as the username?).

                If you zip it up, rename the .zip to .txt to get past our mail servers.. dloy [at] mail.esignal.com

                Thanks!

                Comment


                • #9
                  BK, is this the only call that is failing on 7.9?

                  Could you try the following (assuming VB.NET, not sure about VB6):

                  1. remove the reference to IESignal.Hooks. (in VB.NET it's under the 'References' tree node in the solution explorer.

                  2. add the reference back in, using \Program Files\eSignal\winsig.exe.

                  Rebuild.

                  Comment


                  • #10
                    Beta 7.9 XMLGetFundamentalData Error

                    It's VB6.

                    I can re-write the application if you have a managed control and instructions on how to use it in VB.NET.

                    Comment


                    • #11
                      Beta 7.9 XMLGetFundamentalData Error

                      I removed the refrence (even though it was pointing to the same location) and then added it back in. Same Error.

                      Dab

                      Comment


                      • #12
                        BK, did you ever install our 7.9 Alpha/1 release, or did you just start with Beta/1 ?

                        If you were running on Alpha/1, did the problem occur then?

                        Thanks.

                        Comment


                        • #13
                          Problem Fixed for Beta/2

                          Thanks to BK and others who have submitted examples. I've found the problem that was causing the ActiveX API to fail with 7.9 Beta/1. This has been fixed for Beta/2 (due out any day now =) ).

                          Comment


                          • #14

                            Comment


                            • #15
                              Re: Problem Fixed for Beta/2

                              How will I know that the Beta/2 is available?

                              Originally posted by DionLoy
                              Thanks to BK and others who have submitted examples. I've found the problem that was causing the ActiveX API to fail with 7.9 Beta/1. This has been fixed for Beta/2 (due out any day now =) ).

                              Comment

                              Working...
                              X