Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Has anyone used the Bloomberg Data Control?
Message
From
27/12/2002 23:25:45
 
 
To
27/12/2002 08:46:55
Bill Drew
Independent Consultant
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00736028
Message ID:
00736253
Views:
13
Hi Bill,

Writing it in VB6 as a dll and then calling it from VFP is a possibility; I had to do that when working with the Crystal Dictionary some time back.

There are other possibilities.

1) set all your properties in code (since we know they wrote a non-standard interface, and so the properties aren't going to stick).
2) use .object when referring to the object. E.g., if it is on the form as oMayor, the reference would be thisform.oMayor.object.... For improperly written interfaces, this sometimes allows you to get past the VFP interface directly to their interface.
3) I assume you are working with VFP7, where some of VFP's stuff was supposedly cleaned up a bit.

hth,

Hank

>I'm stumped. The control offers asynchronous calls to Bloomberg for stock data. The sending parameters include a string for the Ticker symbol, a numeric to identify the request, a zero-based array to specify the fields required. I can't figure out how to poll for the return. Supposedly there is a "data" event but this doesn't show up with the methods in the property sheet. All of the examples are in c++ or vb -- except one VFP example that I can't make work. (The only way I could get the control to show up on the downloaded example form was to hack the scx and excise the "proc data" method code from one of the "Reserved" memo fields.)
>Still waiting on Bloomberg tech support. Will I have to do this in VB?
Previous
Reply
Map
View

Click here to load this message in the networking platform