Have "MS Outlook 2007 Programming" book & I'm stuck - Add controls to Control Toolbox

B

Bill Board

On page 97 of the book it states in section 5.2 that before you can use the
controls, such as "info bar" you have to add them to the Control Toolbox. It
states "Right-click the Toolbox, and choose Custom Controls." I must not be
right clicking on the right thing becuase I get no menu of anything. I'm
right clicking on the "Toolbox" the small square window "Toolbox" as shown
on page 101.

Where can I get to add the missing controls?

Thanks,
Bill
 
S

Sue Mosher [MVP-Outlook]

If a right-click on the Toolbox in the form design environment is unresponsive, then try this: Use Alt+F11 to get into the VBA environment, and insert a form module there, then display that form's Toolbox. The right-click menu should be more responsive there. And whatever controls you add in VBA will also appear in the control Toolbox in form design.

Note, though, that the Info Bar and other olk* controls are for form regions ONLY. If you try to use them on a legacy custom form, you run a good chance of corrupting the form and all the code behind it.
 
B

Bill Board

Yes, I'm going regions. I tried it on another system and it works there.
I'm restarting my system right after this post and see if it helps. If not
I'll try the Alt+F11 thing. Very frustrating.

If a right-click on the Toolbox in the form design environment is
unresponsive, then try this: Use Alt+F11 to get into the VBA environment,
and insert a form module there, then display that form's Toolbox. The
right-click menu should be more responsive there. And whatever controls you
add in VBA will also appear in the control Toolbox in form design.

Note, though, that the Info Bar and other olk* controls are for form regions
ONLY. If you try to use them on a legacy custom form, you run a good chance
of corrupting the form and all the code behind it.
 
S

Sue Mosher [MVP-Outlook]

FWIW, it's not a new problem. I remember it going back to Outlook 2002 and maybe earlier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top