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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        158 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        78 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X