The VBP automation objects don't have any dependencies on WinForms, or any part of .NET for that matter. There must be some difference in your component-based code that is resulting in different behavior. I converted my sample to a console app (attached) and it works as expected.
|