API Support » VB6 OnBarsReceived. Oct 14, 2016 @ 10:29 AM (Total replies: 3) | |||||
Thanks much. This works very well as of this morning. Will incorporate in my program today. |
|||||
API Support » VB6 OnBarsReceived. Oct 04, 2016 @ 12:20 PM (Total replies: 3) | |||||
Have code largely ripped off from the excel example, now using it in a VB6 application. The "OECClass" module remains largely the same and works until I add an an OnBarsReceived Event. that looks like this:. Private Sub c_OnBarsReceived(ByVal Subscription As OECAPICOM.ISubscription, ByVal bars As OECAPICOM.IBar) MsgBox "....Handle bars received...." End Sub I get the following compile error: “function or interface marked as restricted,or function uses an automation type not supported in Visual Basic” Does this mean I can't use this function in VB6 or is there a different way of dealing with this? |