Board index » Visual Studio » OLE Control Question
|
garykohs
|
|
garykohs
|
OLE Control Question
Visual Studio289
Hi, I am wrting some VBA code to interact with a third party application that has a VBA interface. A form that I am working with has an OLE Control and I want to invoke one of its events. This third party does not have good documentation on this control and I was wondering is there a way to find and list the OLE control events in code? Thanks - |
| Tim
Registered User |
Fri Aug 13 11:19:18 CDT 2004
Re:OLE Control Question
"Mike" <Mike@noemail.com>wrote in
QuoteHi, object browser. Simply press F2 and search for the control name. When programming with it, if the control is an OCX, then you'll have to drop it on your form. If it's a DLL, then declare it WithEvents. At the top of your code window are two combo boxes. When you're in the declarations section (header) of your form, the left combo contains a list of all controls that contain events. When you choose your control, the right box will populate with the control's events. - |
