Display COM Addin Form

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!
 
D

David Kane

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
 
G

Guest

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
 
D

David Kane

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
 

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