I added references to the libraries I could find (from the References box) and still couldn't figure it out. "VB.ControlName" doesn't work, "ControlName" doesn't work, ControlName.ProgID doesn't work....I'm confused. :-(
Printable View
I added references to the libraries I could find (from the References box) and still couldn't figure it out. "VB.ControlName" doesn't work, "ControlName" doesn't work, ControlName.ProgID doesn't work....I'm confused. :-(
Thanks Ravi
I didn't realize that
Jan
That looks really helpful, but how do you find out the correct things to fill in the blanks as in your example?
I'm not sure what you mean by "fill in the blanks".
you can look up the progids of all OCXs in the registry.
Or, easier: add a refernce to that OCX. Then look up the library name in the object browser.
then use that name in your add statement and watch the error message! It will tell you what the correct progid is.
Funny, isn't it? There may be better ways but this one worked.
That did the trick! Thanks again...........
betsey