Go Back   DailyFX Forex Forum | FX Forum

View Single Post
  #13 (permalink)  
Old 01-26-2008, 12:55 AM
endlos endlos is offline
Junior Member
 
Join Date: May 2007
Posts: 1
endlos is on a distinguished road
"The ActiveX Component cant create the object" problem- SOLVED

I couldnt log in, got the error: The ActiveX Component cant create the object

and I solved the problem like this:

You have to edit one thing in the source code (OrderEntry.frm).

Replace this:
Code:
Private Function InitCore() As Boolean

    On Error Resume Next

    InitCore = False

    ' Create main object
    Me.lblStatus.Caption = "Initiating CORE..."
    Set oCor = CreateObject("FXCM.CORE")
    If Err.Number Then
        MsgBox Err.Description
        Me.lblStatus.Caption = "CORE not initiated"
        Exit Function
    End If
    Me.lblStatus.Caption = "CORE Initiated"
     Me.cmbConnection.Text = "Demo"
   ' Rates = False
To this:
Code:
Private Function InitCore() As Boolean

    On Error Resume Next

    InitCore = False

    ' Create main object
    Me.lblStatus.Caption = "Initiating CORE..."
    Set oCor = CreateObject("Order2Go.CORE")
    If Err.Number Then
        MsgBox Err.Description
        Me.lblStatus.Caption = "CORE not initiated"
        Exit Function
    End If
    Me.lblStatus.Caption = "CORE Initiated"
     Me.cmbConnection.Text = "Demo"
   ' Rates = False
Save and Run It will run with the latest Order2Go update as January/26/2008

Regards.
Reply With Quote
 


Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 08:24 PM.
Copyright ©2009 Daily FX. All Rights Reserved.