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 RookieTrader, Today, 09:37 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by alifarahani, Today, 09:40 AM
        0 responses
        2 views
        0 likes
        Last Post alifarahani  
        Started by Gerik, Today, 09:40 AM
        0 responses
        1 view
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by KennyK, 05-29-2017, 02:02 AM
        3 responses
        1,282 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by AttiM, 02-14-2024, 05:20 PM
        11 responses
        184 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X