How to Bifurcate Activex controls present in access DB Form using vb.net? -


Use of my tool (vb.net) I am able to calculate the ActiveX controls present in an Access DB form. Is it possible to split controls? That is, I want to actively count different controls.

For example if there are a total of 10 Activex controls, out of which 5 are calendar controls and 5 check boxes then I should count separately.

Is this possible? Please suggest.

**

**

oCtls = oForm. Controls intObjectCount = 0 oCtls for each oCtl if oCtl.ControlType = 119 then 'Activex Control' intObjectCount = intObjectCount + 1 end if next

**

Ask about the type of control:

  If TypeOf is oCtl then System.Windows.Forms. Checkbox then checkboxack + = 1 end if  

Comments