Author |
Topic: COM API: Ticks.BidPrices() doesn't work (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CChen15 Posts: 121 Joined: Jul 23, 2009 |
I can't get values by .BidPrices(0) (and other similar like Ask, Prices, Volumes, Timastamps) with error:
Quote: Microsoft Visual Basic Compile error: Wrong number of arguments or invalid property assignment I obligated to use .BidPriceList.Item(0) instead. However I see .BidPrices(0) value in Watches window: http://img84.imageshack.us/img84/3562/1211033342.png WinXP SP3, Office 2003 SP3, OEC COMAPI 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chen Hua, Russia |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Looks like your version of VB doesn't support SAFEARRAY values
Victor Vins Lead Software Developer |
||||
CChen15 Posts: 121 Joined: Jul 23, 2009 |
I mean not a VB, but the VBA under Access. Is your pov right for VBA too? I see in About: "VBA: Retail 6.5.1024"
However it's strange. I read that all arrays in VB are SAFEARRAY... Have you some recomendations? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chen Hua, Russia |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
You can continue use BidPriceList: its content is the same as BidPrices
Victor Vins Lead Software Developer |
||||