Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Excel Problem

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

    Excel Problem

    I developed a trading system in VBA for Excel.

    In the VB Code I added in the refererences menĂ¹ NinjaTrader Client. After I wrote the code:

    Dim myClient As NinjaTrader_Client.Client


    ORDINE = 2

    Set myClient = New NinjaTrader_Client.Client

    ORDINE = myClient.Command("CANCELALLORDERS", "", "", "", 0, "", 0, 0, "", "", "", "", "")


    but he give an error occured. It isn't able to create the ActiveX object.



    Can you help me?



    tks



    #2
    imported post

    a) Please double check that you proceeded as documented in the releveant section of the help guide.
    b) What is the exact error you get?
    c) When do you get this error? On adding the project reference or on running the project?
    d) What operations system are you on?

    Comment


      #3
      imported post

      a) Done

      b)run time 429 don't create the activix object

      c)on running the project at Set myClient = New NinjaTrader_Client.Client

      d)Microsoft XP professional 2002 SP2

      Comment


        #4
        imported post

        Hmm ... I'm on a loss. The only thing I know is that COM is sensitive to setup issues. So an uninstall and reinstall of NT via the control panel "could" make a difference.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by quantismo, 04-17-2024, 05:13 PM
        5 responses
        32 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by proptrade13, Today, 11:06 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        34 views
        0 likes
        Last Post love2code2trade  
        Started by cls71, Today, 04:45 AM
        2 responses
        10 views
        0 likes
        Last Post eDanny
        by eDanny
         
        Started by kulwinder73, Today, 10:31 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X