API Support Forum
User Profile

Viewing User Profile for: TKetcheson65


About

Sep 30, 2016 12:32 PM

Oct 14, 2016 10:29 AM

Oct 14, 2016 10:29 AM



Post Statistics
TKetcheson65 has contributed to 2 posts out of 5593 total posts (0.04%) in 2762 days (0.00 posts per day).

20 most recent posts:

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?