View Single Post
  #1 (permalink)  
Old September 15th, 2004, 03:25 PM
ArtDecade ArtDecade is offline
Authorized User
Join Date: Jul 2004
Location: New Providence, NJ, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I use an ActiveX Control?

I am working with a reference library that includes an ActiveX control. Do I need to reference another library (Microsoft Shell Controls and Automation, perhaps?) in order to get that control to work? And, if so, how do I work that into my code?

I am working in the VB editor under Excel 2003. The control I want shows up in the Object Browser, but no matter how I include that control in my procedure - and by now I have played with all different permutations of DIM, SET, DIM as NEW, SET as NEW that I can think of - nothing happens.

(Fwiw, I am trying to program with the Microsoft Office Document Imaging 11.0 Library. The Microsoft Document Imaging Control, MiDocView, is the item I cannot for the life of me get to fire up.)

Reply With Quote