Error: Can't create Object

Results 1 to 3 of 3

Thread: Error: Can't create Object

  1. #1
    Charles Guest

    Default Error: Can't create Object

    Hello,<BR><BR>I&#039;m getting a run time error 429, Ative X component cannot create object at the second line of my code, can someone please<BR>help me resolve this problem.<BR><BR>Thanks. <BR> Private Sub Command1_Click()<BR> Dim var1 As Object<BR> Set var1 = CreateObject("SNCls3.SNOrder")<BR> Dim var2 As Collection<BR> Set var2 = var1.GetOrderTest<BR> &#039;MsgBox var2.Count<BR> Dim i As Integer<BR> For i = 1 To var2.Count<BR> Dim x As Object<BR> Set x = var2.Item(i)<BR> List1.AddItem x.Symbol<BR> List1.AddItem x.OrderType<BR> Set x = Nothing<BR> Next i<BR> Set var1 = Nothing<BR> Set var2 = Nothing<BR> End Sub

  2. #2
    Join Date
    Dec 1969

    Default RE: Error: Can't create Object

    Add the reference of that object to your project.

  3. #3
    Charles Guest

    Default RE: Error: Can't create Object

    I already did that, do you have any other suggestions?<BR><BR>Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts