title: Programming Visio ActiveX control
body: <p>My task is to use Microsofts Visio ActiveX control (Visio Viewer) to visualise a Visio document in a web page and to catch the events generated by user clicks.</p>
  
  <p>My immediate problem is to generate the AxVisOcx assembly. Explained below:</p>
  
  <blockquote>
    <p>ActiveX control wrapper assembly that
    allows the control to be embedded
    within a Windows Form</p>
  </blockquote>
  
  <p>Im trying to follow the instructions on <a href="http://msdn.microsoft.com/en-us/library/aa168480(office.11).aspx" rel="nofollow noreferrer">this page</a> but the step where I actually generate the ActiveX control wrapper is not explained. I have tried installing the Visio Viewer and running the aximp.exe on the vviewer.dll but it says the the dll does not include an ActiveX control.</p>
  
  <p>So my questin is, how do get hold of the .ocx or the .dll file for the MS Visio ActiveX control which I then can run in aximp.exe to be able to use in my Visual Studio project?</p>