PDA

View Full Version : How do you use OCX file?



msretenovic
2004-09-15, 02:52 PM
Hello all,

I am in need of a little help. I am needing to have a user browse for a folder. I did a search and found a thread that had a couple of OCX files attached to it. But, I don't know how to use the files in VBA. I found how to load it through References, but I just don't know what to do to actually use it.:confused:

I would appreciate any help y'all can give me.

AutoCAD 2004
Windows 2000

Ed Jobe
2004-09-15, 03:23 PM
They are controls. You don't need to reference them. In your form's designer window, open the Toolbox. Rt+clk on the toolbox and select "Additional controls..." and browse to the control. You'll have to make sure the control is installed on any machine that would use your project.