Insert Hyperlink Common Dialog in Outlook?

  • Thread starter Thread starter Kristy
  • Start date Start date
K

Kristy

Hi

I would like to use the "Insert Hyperlink" (Ctrl+K) dialog box that is
available in Word/Excel/PPT and Access in my Outlook application.

It is not a standard function in Outlook but being a Common Dialog I
would like to hook it like you can with ShowOpen and ChooseFont etc.

I can't seem to find any of the functions that I would need, does
anyone know if I can use this common dialog and if so what functions I
need.

Thanks

Kristy
 
Hi Kristy,
I would like to use the "Insert Hyperlink" (Ctrl+K) dialog box that is
available in Word/Excel/PPT and Access in my Outlook application.
It is not a standard function in Outlook but being a Common Dialog I
would like to hook it like you can with ShowOpen and ChooseFont etc.

AFAIK it's not a windows common dialog, it's an office specific dialog
and thus located in one of the office DLLs (mso*.dll). Each office
application has, if at all, it's own method to make the built-in
dialogs available for use with vba. Unfortunatly Outlook doesn't have
a method to access built-in dialogs and i doubt it has the "Ctrl+K"
dialog at all. Best would be to "simulate" the Ctrl+K dialog using a
form...
 
Heinz-Josef Bomanns said:
Hi Kristy,


AFAIK it's not a windows common dialog, it's an office specific dialog
and thus located in one of the office DLLs (mso*.dll). Each office
application has, if at all, it's own method to make the built-in
dialogs available for use with vba. Unfortunatly Outlook doesn't have
a method to access built-in dialogs and i doubt it has the "Ctrl+K"
dialog at all. Best would be to "simulate" the Ctrl+K dialog using a
form...

It's actually *both* a common dialog *and* an Office-specific extension.
The common dialogs provide an extension hook interface that lets you pass in
a resource template [with controls to be added] and hook the common dialog
window proc to process messages associated with the added controls. It also
provides hooks into OK and Cancel button processing, though I don't know if
any of this is available in VB.

-Mark
 
Back
Top