Announcement

Collapse
No announcement yet.

help ---- again about FOREX layout

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

  • help ---- again about FOREX layout

    Hi, is there anybody can help me?
    I use ESIG's API to build a VB program(it should be through ActiveX), and get data from ESIG. But i found that if ESIG is started by the program i made, then it will be a blank in the main window at first. And also i found the application i made only can get data when ESIG is set to "FOREX" layout. So everytime i have to go to FOREX layout manually. i want to know how to set the default layout to that.
    Actually, i also wrote a program to close ESIG at sometime(using sendmessage function in VC). but everytime before ESIG is closed, it always asks me if i want to save the layout or not.
    There is a different situation when i double click ESIG's icon on my desktop, i mean to start ESIG manually. if ESIG is opened in that way, it can go to FOREX layout directly. and when i close it manually, it can not ask me if i want to save the layout.
    Can anybody help me? Thank you! Waiting for the answer.

  • #2
    There is a new function in the 7.7 version of the Desktop API that is called:

    LoadLayoutorPage(sPath as String, pPrompt as Integer)

    If you have a FOREX layout, you are not using 7.7, as those are now pages. You should need a particular layout to use the Desktop API, as they do not rely on each other.

    Comment


    • #3
      thank you, Robi, 7.7, the new version is much better than the former, and i even did not use the function Save/Load-LayoutOrPage. The application i made can collect data without going to any layout.

      Comment


      • #4
        As a guess, if you are trying to get quote data using GetBasicQuote or XMLGetBasicQuote, your application might not be doing a RequestSymbol first for the symbols you want.

        This would not be apparent if you had a layout loaded with the symbols already in it, as the application UI side would have already requested those symbols for you.

        Cheers,

        Simon.
        Simon Thornington
        eSignal Developer

        Comment


        • #5
          i have used requestsymbol ahead of getbasicquote. thank you anyway, and my problem is killed in version 7.7

          Comment

          Working...
          X