Display COM Addin Form

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Can anyone give me an example or point me in the right
direction on how to display a VB6 (COM Addin) Form in the
explorer based on the FolderSwitch event?
Thanks in advance!
 
Is the goal to display your VB6 form when a particular Outlook folder is selected? In pseudocode that would be

Private Sub objExpl_FolderSwitch(

'your condition for displaying form here, based on particular folder name, default item type or whateve
If objExpl.CurrentFolder.Name = "Calendar" The
With frmYour
'set properties her
.Show vbModa
'retrieve properties her
End Wit
'clean up form object now or reuse and clean up when the add-in unload
Unload frmYour
End I

End Sub
 
OK, that worked but is not really what I am trying to
do. I am trying to get my VB form to display within the
Outlook explorer window on the right. Any other ideas?
Thanks,
Bob
 
You could force the right-hand window to display an HTML page, but I don't believe you can get that window to display a VB form

----- (e-mail address removed) wrote: -----

OK, that worked but is not really what I am trying to
do. I am trying to get my VB form to display within the
Outlook explorer window on the right. Any other ideas?
Thanks,
Bob
 
Back
Top