Monthly Archives: June 2007

part 2 - properties and more events

 

today i will show how we can add additional controls as well as expose properties of those controls in our activex.

 

if you haven't already please read part 1 of the post.

open the project in vbexpress you created earlier or if you’re lazy download the complete project code from the link below and follow along.

 

double click the file mytoolstrip.vb to open it in the designer. from the toolbox on the left drop a checkbox onto the usercontrol surface. change these properties:

 

(name) = chkonoff

autosize = true

text… Continue reading

part 1 - installation, control creation & events

 

microsoft have recently released the interop forms toolkit 2.0  at http://msdn2.microsoft.com/en-us/vbasic/aa701259.aspx . this toolkit allows developers to create activex controls that can be hosted in vb as well as forms that can be called from vb. but this toolkit is not limited to vb alone. it can easily be used to create forms and controls for use in vfp, as i will show.

 

first things first. go and download the installer from the page above. the only file you will need is interopformtoolsinstaller.msi (5.2mb) and install it on your… Continue reading