Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / November 2003

Tip: Looking for answers? Try searching our database.

Display COM Addin Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 26 Nov 2003 14:14 GMT
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!
David Kane - 26 Nov 2003 20:26 GMT
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
- 26 Nov 2003 21:12 GMT
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
David Kane - 26 Nov 2003 23:46 GMT
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
   
    ----- anonymous@discussions.microsoft.com 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.