October 15th, 2003, 7:01 pm
You don't have to do anything special to access legacy ActiveX / COM controls (including the Bloomberg Data Control) from .NET - just add them to your Visual Studio toolbar and drop them onto a form - COM Interop will take care of the rest. Remember to watch out for threading issues if you are using WinForms - WinForms controls are NOT thread-safe, and events from COM controls may get handled on their own thread, which means that you have to use Invoke to access controls on the form.Whether or not Bloomberg's API (ActiveX or C-API) is "an old piece of crap" is debatable, but if you have a Bloomberg license and want to get the data into another program it's what you've got to work with. In my experience, the ActiveX API has a few quirks, but basically works pretty well, and Bloomberg's breadth of data is unbeatable - no one else has the coverage they do.