How to get width property of Activex Control?

HI,

I have made an activex control that contain two control (textbox and command button)  inside the activex control.

The problem is I can not get the width of the activex control at runtime?

Another question is if I modify the activex control, then the existing app that using the activex control generate error when the project is loading.

Please help.

Thank you.
LVL 1
emi_sastraAsked:
Who is Participating?
 
peetmConnect With a Mentor Commented:
>>Another question is if I modify the activex control, then the existing app that using the activex control generate error when the project is loading

This error is related to a built ocx user control?

If yes, this should help:

http://vb.mvps.org/tools/files/ControlsAndComponents/Mainta~1.txt
0
 
peetmCommented:
>>The problem is I can not get the width of the activex control at runtime?

How so?  A UserControl exposes a Width property, e.g., UserControl1.Width
0
 
emi_sastraAuthor Commented:
It solved my problem.

Thank you.


0
All Courses

From novice to tech pro — start learning today.